Skip to content

Commit 382c639

Browse files
committed
Fix Message._parse method's typehint
Signed-off-by: Aliwoto <[email protected]>
1 parent 6e0bdf9 commit 382c639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/types/messages_and_media/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ async def _parse(
600600
topics: dict = None,
601601
is_scheduled: bool = False,
602602
replies: int = 1,
603-
from_topic: types.ForumTopic = None
603+
from_topic: "types.ForumTopic" = None
604604
):
605605
if isinstance(message, raw.types.MessageEmpty):
606606
return Message(id=message.id, empty=True, client=client, raw=message)

0 commit comments

Comments
 (0)