When sending a message via POST + json, the library specifies extra fields in json: reply_markup and method. Such a message is sent, but when trying to edit, the error happen: "[400] Bad Request: message can't be edited"
Json that is sent when this library sends a message:
Hello, i faced with error "Telegram Bot API error when try to edit message: [400] Bad Request: message can't be edited"
In general, I found out that the bug is apparently in the Telegram Bot Java Library (https://github.com/rubenlagus/TelegramBots)
When sending a message via POST + json, the library specifies extra fields in json:
reply_markup
andmethod
. Such a message is sent, but when trying to edit, the error happen: "[400] Bad Request: message can't be edited"Json that is sent when this library sends a message:
If you remove the extra fields from the json of the sent message, then the message can be successfully edited.