Skip to content

Commit

Permalink
fix Message.is_scheduled field always False when parsing
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <[email protected]>
  • Loading branch information
wulan17 committed Dec 20, 2023
1 parent ae5047b commit 7473aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrogram/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, client: "pyrogram.Client"):
async def message_parser(update, users, chats):
return (
await pyrogram.types.Message._parse(self.client, update.message, users, chats,
isinstance(update, UpdateNewScheduledMessage)),
is_scheduled=isinstance(update, UpdateNewScheduledMessage)),
MessageHandler
)

Expand Down

0 comments on commit 7473aa6

Please sign in to comment.