Download the PHP package jeyroik/extas-configs-telegram-keyboard without Composer
On this page you can find all versions of the php package jeyroik/extas-configs-telegram-keyboard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jeyroik/extas-configs-telegram-keyboard
More information about jeyroik/extas-configs-telegram-keyboard
Files in jeyroik/extas-configs-telegram-keyboard
Download jeyroik/extas-configs-telegram-keyboard
More information about jeyroik/extas-configs-telegram-keyboard
Files in jeyroik/extas-configs-telegram-keyboard
Vendor jeyroik
Package extas-configs-telegram-keyboard
Short Description Dispatcher for Telegram keyboards configurations
License
Package extas-configs-telegram-keyboard
Short Description Dispatcher for Telegram keyboards configurations
License
Please rate this library. Is it a good library?
Informations about the package extas-configs-telegram-keyboard
extas-configs-telegram-keyboard
Данный диспетчер позволяет создавать разметку клавиатуры для сообщений в Телеграме по конфигурации.
Пример конфигурации можно найти в /resources/config.example.php
.
Использование
$config = ...;// получение конфига
$dispatcher = new TelegramKeyboardDispatcher($config);
$result = $dispatcher();
if ($result->hasError()) {
list($message, $code) = $result->getError();
echo $message . '(' . $code . ')';
} else {
$command = ...// создание команды на основе Longman\TelegramBot\Commands\Command
$command->replyToChat(
'Пример клавиатуры',
$result
);
}
All versions of extas-configs-telegram-keyboard with dependencies
PHP Build Version
Package Version
The package jeyroik/extas-configs-telegram-keyboard contains the following files
Loading the files please wait ....