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

Merge pull request #1548 from AHOHNMYC/copy-message-fix

CopyMessage return type fix
This commit is contained in:
Badiboy 2022-05-14 16:30:29 +03:00 committed by GitHub
commit 03a567ea93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1040,7 +1040,7 @@ class TeleBot:
reply_to_message_id: Optional[int]=None, reply_to_message_id: Optional[int]=None,
allow_sending_without_reply: Optional[bool]=None, allow_sending_without_reply: Optional[bool]=None,
reply_markup: Optional[REPLY_MARKUP_TYPES]=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. Use this method to copy messages of any kind.

View File

@ -1654,7 +1654,7 @@ class AsyncTeleBot:
reply_to_message_id: Optional[int]=None, reply_to_message_id: Optional[int]=None,
allow_sending_without_reply: Optional[bool]=None, allow_sending_without_reply: Optional[bool]=None,
reply_markup: Optional[REPLY_MARKUP_TYPES]=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. Use this method to copy messages of any kind.