From b848e052254e9f23a4e52b2f87b794f26cb42cd8 Mon Sep 17 00:00:00 2001 From: Artem Kvrvgv <50778263+kvrvgv@users.noreply.github.com> Date: Sun, 13 Nov 2022 16:25:19 +0300 Subject: [PATCH] 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> --- pyrogram/methods/messages/copy_message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/copy_message.py b/pyrogram/methods/messages/copy_message.py index 66b7e37c..0b6624b2 100644 --- a/pyrogram/methods/messages/copy_message.py +++ b/pyrogram/methods/messages/copy_message.py @@ -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