Download the PHP package kalexhaym/laravel-telegram-bot without Composer
On this page you can find all versions of the php package kalexhaym/laravel-telegram-bot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-telegram-bot
Installation
composer require kalexhaym/laravel-telegram-bot
Publish config
php artisan vendor:publish --tag=telegram-config
Make Commands and Callbacks
php artisan make:telegram-command Test
php artisan make:telegram-callback Test
Make Text Handler
php artisan make:telegram-text-handler Text
Setup
After creating a Command or Callback, it must be registered in config/telegram.php
Add Telegram Bot token in .env
TELEGRAM_TOKEN=
Getting updates
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
All versions of laravel-telegram-bot with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
ext-curl Version *
ext-curl Version *
The package kalexhaym/laravel-telegram-bot contains the following files
Loading the files please wait ....