-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Не работает метод ReplyKeyboardMarkup #71
Labels
Comments
Что именно не работает? Судя по коду вы класс |
Это скопировано с примера |
@popcorn2d может проблема в том что переменной нет у вас |
@YaroslavMolchan Тогда можно рабочий пример привести? |
@popcorn2d
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$bot->command('start', function ($message) use ($bot) { $bot->sendMessage($message->getChat()->getId(), 'У меня есть команда /statusready /statusnotready'); $keyboard = new \TelegramBot\Api\Types\ReplyKeyboardMarkup(array(array("one", "two", "three")), true); // true for one-time keyboard $bot->sendMessage($chatId, $messageText, null, false, null, $keyboard); });
Пример, который не работает
The text was updated successfully, but these errors were encountered: