Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coder2020official committed Oct 1, 2021
1 parent 2e4280a commit ff35f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telebot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2532,7 +2532,7 @@ def add_middleware_handler(self, handler, update_types=None):
else:
self.default_middleware_handlers.append(handler)

def message_handler(self, commands=None, regexp=None, func=None, content_types=None, chat_types=None, state=None, **kwargs):
def message_handler(self, commands=None, regexp=None, func=None, content_types=None, chat_types=None, **kwargs):
"""
Message handler decorator.
This decorator can be used to decorate functions that must handle certain types of messages.
Expand Down

0 comments on commit ff35f25

Please sign in to comment.