diff --git a/telebot/__init__.py b/telebot/__init__.py index ac92a38c4..4a4324507 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -1645,8 +1645,8 @@ def copy_message( :param message_thread_id: Identifier of a message thread, in which the message will be sent :type message_thread_id: :obj:`int` - :return: On success, the sent Message is returned. - :rtype: :class:`telebot.types.Message` + :return: On success, the MessageId of the sent message is returned. + :rtype: :class:`telebot.types.MessageID` """ disable_notification = self.disable_notification if (disable_notification is None) else disable_notification parse_mode = self.parse_mode if (parse_mode is None) else parse_mode diff --git a/telebot/async_telebot.py b/telebot/async_telebot.py index cd71abeac..92748a9fc 100644 --- a/telebot/async_telebot.py +++ b/telebot/async_telebot.py @@ -2521,8 +2521,8 @@ async def copy_message( :param message_thread_id: Identifier of a message thread, in which the message will be sent :type message_thread_id: :obj:`int` - :return: On success, the sent Message is returned. - :rtype: :class:`telebot.types.Message` + :return: On success, the MessageId of the sent message is returned. + :rtype: :class:`telebot.types.MessageID` """ parse_mode = self.parse_mode if (parse_mode is None) else parse_mode disable_notification = self.disable_notification if (disable_notification is None) else disable_notification