mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +00:00
Fix scheduled forward messages not being parsed correctly
This commit is contained in:
parent
e42d6acc08
commit
4526a644dd
@ -126,7 +126,7 @@ class ForwardMessages(BaseClient):
|
|||||||
chats = {i.id: i for i in r.chats}
|
chats = {i.id: i for i in r.chats}
|
||||||
|
|
||||||
for i in r.updates:
|
for i in r.updates:
|
||||||
if isinstance(i, (types.UpdateNewMessage, types.UpdateNewChannelMessage)):
|
if isinstance(i, (types.UpdateNewMessage, types.UpdateNewChannelMessage, types.UpdateNewScheduledMessage)):
|
||||||
forwarded_messages.append(
|
forwarded_messages.append(
|
||||||
pyrogram.Message._parse(
|
pyrogram.Message._parse(
|
||||||
self, i.message,
|
self, i.message,
|
||||||
|
Loading…
Reference in New Issue
Block a user