Skip to content

Commit 7a8559c

Browse files
committed
Specified correct return type in the async_telebot
1 parent 0ecfb19 commit 7a8559c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎telebot/async_telebot.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,8 +2521,8 @@ async def copy_message(
25212521
:param message_thread_id: Identifier of a message thread, in which the message will be sent
25222522
:type message_thread_id: :obj:`int`
25232523
2524-
:return: On success, the sent Message is returned.
2525-
:rtype: :class:`telebot.types.Message`
2524+
:return: On success, the MessageId of the sent message is returned.
2525+
:rtype: :class:`telebot.types.MessageID`
25262526
"""
25272527
parse_mode = self.parse_mode if (parse_mode is None) else parse_mode
25282528
disable_notification = self.disable_notification if (disable_notification is None) else disable_notification

0 commit comments

Comments
 (0)