Closed adellantado closed 4 years ago
You can extend TelegramDriver and change the behaviour of messagesHandled
Indeed, why I didn't come up with it. Thanks, man!
@adellantado
I found easy solution for that, according to config that has been used in TelegramDriver class, you can easily set 'hideInlineKeyboard' => false,
in config/botman/telegram.php
that would be the answer.
When I try to send message like this:
After click on a button , all keyboard will be removed instantly.
I found these lines in listen() method:
Which calls removeInlineKeyboard(). Is it possible to add some kind of manual switcher for this feature? Or better just automatically control if it was a Question, than removeInlineKeyboard, otherwise - don't?
Versions: "botman/botman": "2.1.10", "botman/driver-telegram": "1.4",