Download the PHP package californiamountainsnake/longmantelegrambot-inlinemenu without Composer
On this page you can find all versions of the php package californiamountainsnake/longmantelegrambot-inlinemenu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download californiamountainsnake/longmantelegrambot-inlinemenu
More information about californiamountainsnake/longmantelegrambot-inlinemenu
Files in californiamountainsnake/longmantelegrambot-inlinemenu
Package longmantelegrambot-inlinemenu
Short Description The inline menu for the longman/telegram-bot library!
License MIT
Informations about the package longmantelegrambot-inlinemenu
longmantelegrambot-inlinemenu
It's the inline menu for the longman/telegram-bot library!
Functionality:
- Inline-menu with sub-menus.
- Call a bot command by inline button.
- Toast message!
Install:
Require this package with Composer
Install this package through Composer.
Edit your project's composer.json
file to require californiamountainsnake/longmantelegrambot-inlinemenu
:
and run composer update
or
run this command in your command line:
Usage:
-
Extend your Telegram class from InlineMenuTelegram (or include the InlineMenuTelegramTrait into your existed Telegram class):
-
Create your Menu object:
-
Extend your standard CallbackqueryCommand from InlineMenuCallbackqueryCommand and realise abstract methods:
- Get standard Longman\TelegramBot\Entities\InlineKeyboard object and use it in Request::sendMessage () in your commands:
All versions of longmantelegrambot-inlinemenu with dependencies
ext-mbstring Version *
ext-json Version *
longman/telegram-bot Version ~0.55
myclabs/php-enum Version ^1.5
californiamountainsnake/longmantelegrambot-utils Version ^1.1.4