diff --git a/telebot/__init__.py b/telebot/__init__.py index ad0dfa5..248e9ef 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -798,7 +798,7 @@ class TeleBot: func=func, content_types=content_types, **kwargs) - self.add_edited_message_handler(handler_dict) + self.add_edited_channel_post_handler(handler_dict) return handler return decorator