irazasyed / telegram-bot-sdk

🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.

Home Page:https://telegram-bot-sdk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard reply command handler not working

makkmarci13 opened this issue · comments

PHP version

8.1.27

irazasyed/telegram-bot-sdk version

https://github.com/makkmarci13/telegram-bot-sdk (waiting for the new relese for forum)

Laravel version (if any)

10

Code To Reproduce the bug

When user press to any keyboard action, commands are not handled, but if I send manually, works perfectly.

Other issue is when I use replyWithMessage in command, it replies to general chat, and not to the forum where I run the command.

Also if I need to write custom handler for reply commands, how can i call these? Because the triggerCommand function will be depricated.

image

image

image

Error stacktrace (if any)

No response