1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Badiboy
03a567ea93
Merge pull request #1548 from AHOHNMYC/copy-message-fix
CopyMessage return type fix
2022-05-14 16:30:29 +03:00
AHOHNMYC
3f28bb6e9d
CopyMessage return type fix [async] 2022-05-14 15:48:27 +03:00
AHOHNMYC
e051dda113
CopyMessage return type fix 2022-05-14 15:46:05 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -1040,7 +1040,7 @@ class TeleBot:
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.

View File

@ -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.