Fix typing hint missing in forward_messages function (#569)

This commit is contained in:
Kunoi Sayami 2020-12-25 02:18:46 +08:00 committed by GitHub
parent 6e29283d04
commit 01a3aab482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: