2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Fix copy_message return type hint (#1128)

* fixed copy_message method type-hint

* Update copy_message.py

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
This commit is contained in:
Artem Kvrvgv 2022-11-13 16:25:19 +03:00 committed by GitHub
parent 1b02a6a148
commit b848e05225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ class CopyMessage:
"types.ReplyKeyboardRemove",
"types.ForceReply"
] = None
) -> List["types.Message"]:
) -> "types.Message":
"""Copy messages of any kind.
The method is analogous to the method :meth:`~Client.forward_messages`, but the copied message doesn't have a