-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Always asking the question when entering the chat #4
Comments
I assume that as a bug of the Telegram clients. One workaround I tested a few days ago is to send An ugly way might be to send a message with no real content but the Another experiment might be an edit of the question via Hope it helps :) |
It seems to be working and the users doesn't notice that much. |
Yeah… sadly editMessageReplyMarkup does not work for us…
The first has the benefit of no additional requests which makes that scale way better. The second way works always, even when there is no message without Maybe that should be documented in the readme… |
Hello. I have such code: Thank you for any help. |
Have you tried the example code I included? If I recall correctly, you have add an extra question and remove it. This way there is no entry "left" in Telegram poll. |
so I need to add something like: const clearPoll = newTelegrafStatelessQuestions('clearPoll', async (ctx, additionalState) => { and call it like: in my second question? UPD: The solution not solved my problem at all. Only added annoying animation after every action. |
Is there anything that needs to be done here? Otherwise, I'd close this issue. |
I think we cant do anything here to fix it as it would require some other feature of the Telegram API. It might be helpful to leave this open so its easier to find this known issue. |
Reported this bug there: https://bugs.telegram.org/c/25208 |
Following the conversation on issue #119 in telegraf-inline-menu I have used stalessquestion to get input from a user on a menu button click.
The problem that answering or not the question, every time the user exits (not leave) the chat, and go back to it, the question is displayed. I don't know why. I think it is a kind of bug or maybe a misunderstanding on the way to use the library.
Any help is welcomed.
The text was updated successfully, but these errors were encountered: