Skip to content

Commit

Permalink
Fix Message._parse method's typehint
Browse files Browse the repository at this point in the history
Signed-off-by: Aliwoto <[email protected]>
  • Loading branch information
ALiwoto committed Mar 28, 2024
1 parent 6e0bdf9 commit 382c639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrogram/types/messages_and_media/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ async def _parse(
topics: dict = None,
is_scheduled: bool = False,
replies: int = 1,
from_topic: types.ForumTopic = None
from_topic: "types.ForumTopic" = None
):
if isinstance(message, raw.types.MessageEmpty):
return Message(id=message.id, empty=True, client=client, raw=message)
Expand Down

0 comments on commit 382c639

Please sign in to comment.