composer require kalexhaym/laravel-telegram-bot
php artisan vendor:publish --tag=telegram-config
php artisan make:telegram-command Test
php artisan make:telegram-callback Test
php artisan make:telegram-text-handler Text
After creating a Command or Callback, it must be registered in config/telegram.php
Add Telegram Bot token in .env
TELEGRAM_TOKEN=
There are two mutually exclusive ways of receiving updates for your bot - the getUpdates method
php artisan telegram:poll-updates
and webhooks
php artisan telegram:set-hook