From 01a3aab482efa7075b85626c4660836fdbab16c2 Mon Sep 17 00:00:00 2001 From: Kunoi Sayami <46131041+KunoiSayami@users.noreply.github.com> Date: Fri, 25 Dec 2020 02:18:46 +0800 Subject: [PATCH] Fix typing hint missing in forward_messages function (#569) --- pyrogram/methods/messages/forward_messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/forward_messages.py b/pyrogram/methods/messages/forward_messages.py index 82b72611..02672768 100644 --- a/pyrogram/methods/messages/forward_messages.py +++ b/pyrogram/methods/messages/forward_messages.py @@ -31,7 +31,7 @@ class ForwardMessages(Scaffold): message_ids: Union[int, Iterable[int]], disable_notification: bool = None, schedule_date: int = None - ) -> List["types.Message"]: + ) -> Union["types.Message", List["types.Message"]]: """Forward messages of any kind. Parameters: