mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Fix scheduled forward messages not being parsed correctly
This commit is contained in:
parent
e42d6acc08
commit
4526a644dd
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ class ForwardMessages(BaseClient):
|
|||
chats = {i.id: i for i in r.chats}
|
||||
|
||||
for i in r.updates:
|
||||
if isinstance(i, (types.UpdateNewMessage, types.UpdateNewChannelMessage)):
|
||||
if isinstance(i, (types.UpdateNewMessage, types.UpdateNewChannelMessage, types.UpdateNewScheduledMessage)):
|
||||
forwarded_messages.append(
|
||||
pyrogram.Message._parse(
|
||||
self, i.message,
|
||||
|
|
|
|||
Loading…
Reference in a new issue