diff --git a/telebot/__init__.py b/telebot/__init__.py index 9d201b8..38dfe3c 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -416,7 +416,7 @@ class TeleBot: :param message_id: which message to delete :return: API reply. """ - return types.Message.de_json(apihelper.delete_message(self.token, chat_id, message_id)) + return apihelper.delete_message(self.token, chat_id, message_id) def send_photo(self, chat_id, photo, caption=None, reply_to_message_id=None, reply_markup=None, disable_notification=None):