Skip to content

Commit

Permalink
Fix message_reaction_x_handler description
Browse files Browse the repository at this point in the history
  • Loading branch information
Badiboy authored Jan 2, 2024
1 parent 0ace17b commit 578d6a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telebot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6830,7 +6830,7 @@ def register_edited_channel_post_handler(self, callback: Callable, content_types
def message_reaction_handler(self, func=None, **kwargs):
"""
Handles new incoming message reaction.
As a parameter to the decorator function, it passes :class:`telebot.types.Message` object.
As a parameter to the decorator function, it passes :class:`telebot.types.MessageReactionUpdated` object.
:param func: Function executed as a filter
:type func: :obj:`function`
Expand Down Expand Up @@ -6881,7 +6881,7 @@ def register_message_reaction_handler(self, callback: Callable, func: Callable=N
def message_reaction_count_handler(self, func=None, **kwargs):
"""
Handles new incoming message reaction count.
As a parameter to the decorator function, it passes :class:`telebot.types.Message` object.
As a parameter to the decorator function, it passes :class:`telebot.types.MessageReactionCountUpdated` object.
:param func: Function executed as a filter
:type func: :obj:`function`
Expand Down

0 comments on commit 578d6a3

Please sign in to comment.