aelkheir · GitHub

Merged

Merged

Conversation

@aelkheir

aelkheir marked this pull request as ready for review

July 8, 2025 23:04

aelkheir

Comment on lines +3964 to +3967

Note:
You can only edit messages that the bot sent itself (i.e. of the ``bot.send_*`` family
of methods) or channel posts, if the bot is an admin in that channel. However, this
behaviour is undocumented and might be changed by Telegram.

Member Author

Was hesitant about this note section, whether it's relevant here, should be removed entirely, or made to say something like:

Suggested change

Note:
You can only edit messages that the bot sent itself (i.e. of the ``bot.send_*`` family
of methods) or channel posts, if the bot is an admin in that channel. However, this
behaviour is undocumented and might be changed by Telegram.
Note:
You can only edit messages that the bot sent itself (i.e. of the ``bot.send_*`` family
of methods). However, this
behaviour is undocumented and might be changed by Telegram.

It exists in most, if not all, other Message.edit_ shortcuts

Bibo-Joshi

Comment on lines +3964 to +3967

Note:
You can only edit messages that the bot sent itself (i.e. of the ``bot.send_*`` family
of methods) or channel posts, if the bot is an admin in that channel. However, this
behaviour is undocumented and might be changed by Telegram.

@Bibo-Joshi

@Bibo-Joshi

Closed

16 tasks

Labels

None yet

Read the original on github.com ↗