Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit b848e05

Browse files
kvrvgvdelivrance
andauthored
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>
1 parent 1b02a6a commit b848e05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/methods/messages/copy_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async def copy_message(
4545
"types.ReplyKeyboardRemove",
4646
"types.ForceReply"
4747
] = None
48-
) -> List["types.Message"]:
48+
) -> "types.Message":
4949
"""Copy messages of any kind.
5050
5151
The method is analogous to the method :meth:`~Client.forward_messages`, but the copied message doesn't have a

0 commit comments

Comments
 (0)