Skip to content

Commit

Permalink
fix docs for OnInvokeErr
Browse files Browse the repository at this point in the history
Signed-off-by: eyMarv <[email protected]>
  • Loading branch information
eyMarv committed Sep 28, 2024
1 parent 37ca666 commit 95d52c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/api/decorators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Index
- :meth:`~Client.on_story`
- :meth:`~Client.on_poll`
- :meth:`~Client.on_disconnect`
- :meth:`~Client.on_invoke_err`
- :meth:`~Client.on_raw_update`

-----
Expand All @@ -79,4 +80,5 @@ Details
.. autodecorator:: pyrogram.Client.on_story()
.. autodecorator:: pyrogram.Client.on_poll()
.. autodecorator:: pyrogram.Client.on_disconnect()
.. autodecorator:: pyrogram.Client.on_invoke_err()
.. autodecorator:: pyrogram.Client.on_raw_update()
2 changes: 2 additions & 0 deletions pyrogram/methods/decorators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from .on_deleted_messages import OnDeletedMessages
from .on_deleted_bot_business_messages import OnDeletedBotBusinessMessages
from .on_disconnect import OnDisconnect
from .on_invoke_err import OnInvokeErr
from .on_edited_message import OnEditedMessage
from .on_edited_bot_business_message import OnEditedBotBusinessMessage
from .on_inline_query import OnInlineQuery
Expand All @@ -51,6 +52,7 @@ class Decorators(
OnCallbackQuery,
OnRawUpdate,
OnDisconnect,
OnInvokeErr,
OnUserStatus,
OnInlineQuery,
OnPoll,
Expand Down

0 comments on commit 95d52c8

Please sign in to comment.