Skip to content
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

Message can't be edited if force_reply is active #3196

Open
zelark opened this issue Dec 20, 2024 · 1 comment
Open

Message can't be edited if force_reply is active #3196

zelark opened this issue Dec 20, 2024 · 1 comment

Comments

@zelark
Copy link

zelark commented Dec 20, 2024

I noticed that if my bot sends a message with force_reply, then the bot cannot edit the message, and receives {:ok false, :error_code 400, :description Bad Request: message can't be edited}.

Has it done by purpose? Why?

Moreover, the bot can easily delete this message.

@levlam
Copy link
Contributor

levlam commented Dec 20, 2024

Messages with regular keyboards can't be edited, because the behavior of the keyboards depends on content of the messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants