Skip to content

dev-lnk/tbot

Repository files navigation

Creating a telegram bot keyboard using the example of the telegram library.

The core logic is in app/Services/TelegramBots/InfoBot/Keyboards

Button clicks are handled in CallbackqueryCommand. Handlers are added during the construction of the bot in InfoBot

If you want to run your bot, then you need to install:

  1. Copy .env.example and rename to .env
  2. Add your bot settings to variables TELEGRAM_API_KEY and TELEGRAM_USERNAME
  3. If you are using docker compose execute docker-compose up --build -d
  4. Execute composer install
  5. To start the bot, run php artisan infobot:start

Test 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published