mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Better document MESSAGE_ID_INVALID
This commit is contained in:
@@ -936,6 +936,11 @@ class MessageMethods:
|
||||
``MessageNotModifiedError`` if the contents of the message were
|
||||
not modified at all.
|
||||
|
||||
``MessageIdInvalidError`` if the ID of the message is invalid
|
||||
(the ID itself may be correct, but the message with that ID
|
||||
cannot be edited). For example, when trying to edit messages
|
||||
with a reply markup (or clear markup) this error will be raised.
|
||||
|
||||
Example
|
||||
.. code-block:: python
|
||||
|
||||
|
Reference in New Issue
Block a user