grammyjs/conversations

conversation.waitFor() throwing TypeError (reading 'filterQuery')

sartoshi-foot-dao opened this issue · 1 comments

Reproduction

Package version: 1.0.2

  1. Setup conversation boilerplate as per https://grammy.dev/plugins/conversations.html#installing-and-entering-a-conversation
  2. Inside conversation function definition: await conversation.waitFor("message:text")
  3. Trigger conversation.

throws error:

TypeError: Cannot read properties of undefined (reading 'filterQuery') at ConversationHandle.waitFor

Thank again for your support.

Upgrading grammy to 1.10.1 fixed the issue.