I'm designing a bot that works in both private & group chats. The bot's privacy is set to ENABLED so it can only listen to commands and mentions. When bot asks first question in the form it cannot proceed even when I send the reply like this: @foobot answer.
When I look at the source code, I see that runForm uses waitForRequest on the back. waitForRequest uses chatId to execute the correct callback. Afaik mentions use the same chatId so it should just work but bot just doesn't work as it does in private chat. Any ideas?
Hi @Naltox ,
I'm designing a bot that works in both private & group chats. The bot's privacy is set to ENABLED so it can only listen to commands and mentions. When bot asks first question in the form it cannot proceed even when I send the reply like this:
@foobot answer
.When I look at the source code, I see that
runForm
useswaitForRequest
on the back.waitForRequest
useschatId
to execute the correct callback. Afaik mentions use the samechatId
so it should just work but bot just doesn't work as it does in private chat. Any ideas?