conversations
conversations copied to clipboard
Conversational interfaces for grammY
Each conversation can now time out. The timeouts can be set on two levels: 1. when calling `createConversation`, will be used for all conversations with that identifier 2. inside a...
Whenever I use ctx(such as reply) in conversation.external, my app "forgets" about all his comands. There is message in telegram https://t.me/grammyjs/86807
In **conversation form**, we can receive a text like ` const text = await conversation.form.text(); ` Can we also receive a **photo** and **other types of message** in this format?
Currently, it's not possible to combine filters in one code. Instead, every filter has its own function `.waitFor()`, `.waitFrom()`, etc... I suggest adding params to `.wait()` function with filters, like...
A lot of people ask for a way to exit conversations without returning or throwing. Similar to `process.exit`, we should add `conversation.halt` which stops the conversation immediately. Calling `ctx.conversation.exit` from...
It may be cool if we could add custom timeouts to each individual conversation instance, rather than just relying on the session timeouts. They can only expire all conversations, or...
It would be cool to do what was requested by @mkrhere in https://t.me/grammyjs/68908: ![image](https://user-images.githubusercontent.com/12952387/190901923-d41b08fc-e985-40d2-86f3-aa8efb3e46fb.png)
It may be interesting to be able to wait for external events, rather than just waiting for Telegram updates. For example, we could add something like `await conversation.waitExternal('id')` and then...
I get that error when use `conversation.wait()`: `TypeError: Cannot read properties of undefined (reading 'length')`
Conversation doesn't end when maxMillisecondsToWait reaches timeout when use waitFor('message:text')
This simple echo bot works: you type /start, bot sends you hello, you type hello, bot sends you hello, when you type hello again, bot didn't answer node 18.18.0 grammy...