conversation.waitFor() throwing TypeError (reading 'filterQuery')
sartoshi-foot-dao opened this issue · 1 comments
sartoshi-foot-dao commented
Reproduction
Package version: 1.0.2
- Setup conversation boilerplate as per https://grammy.dev/plugins/conversations.html#installing-and-entering-a-conversation
- Inside conversation function definition:
await conversation.waitFor("message:text")
- Trigger conversation.
throws error:
TypeError: Cannot read properties of undefined (reading 'filterQuery') at ConversationHandle.waitFor
Thank again for your support.
sartoshi-foot-dao commented
Upgrading grammy
to 1.10.1 fixed the issue.