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:
commit
03a567ea93
@ -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.
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user