Better document MESSAGE_ID_INVALID

This commit is contained in:
Lonami Exo
2019-07-20 11:10:01 +02:00
parent cbcbda5276
commit ae620db0c5
2 changed files with 6 additions and 1 deletions

View File

@@ -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