mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-27 08:36:27 +00:00
Fix get_scheduled_messages
This commit is contained in:
parent
76d5249daa
commit
ed6891a4f4
@ -55,7 +55,7 @@ class GetScheduledMessages:
|
||||
ValueError: In case of invalid arguments.
|
||||
"""
|
||||
r = await self.invoke(
|
||||
raw.functions.GetScheduledHistory(peer=await self.resolve_peer(chat_id), hash=0)
|
||||
raw.functions.messages.GetScheduledHistory(peer=await self.resolve_peer(chat_id), hash=0)
|
||||
)
|
||||
|
||||
return await utils.parse_messages(self, r, replies=0)
|
||||
|
Loading…
Reference in New Issue
Block a user