From 3f28bb6e9d5bc724031f310c1539ecd64c6e56c2 Mon Sep 17 00:00:00 2001 From: AHOHNMYC <24810600+AHOHNMYC@users.noreply.github.com> Date: Sat, 14 May 2022 15:48:27 +0300 Subject: [PATCH] CopyMessage return type fix [async] --- telebot/async_telebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/async_telebot.py b/telebot/async_telebot.py index f6d8cc4..35c2da8 100644 --- a/telebot/async_telebot.py +++ b/telebot/async_telebot.py @@ -1654,7 +1654,7 @@ class AsyncTeleBot: reply_to_message_id: Optional[int]=None, allow_sending_without_reply: Optional[bool]=None, reply_markup: Optional[REPLY_MARKUP_TYPES]=None, - timeout: Optional[int]=None) -> int: + timeout: Optional[int]=None) -> types.MessageID: """ Use this method to copy messages of any kind.