mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
fix(pyrogram.methods.messages.copy_media_group): reply_to: miss parameter client
This commit is contained in:
parent
4a50a9183d
commit
361acdbfd7
1 changed files with 2 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ class CopyMediaGroup:
|
|||
)
|
||||
|
||||
reply_to = await utils.get_reply_to(
|
||||
client=self,
|
||||
reply_to_message_id=reply_to_message_id,
|
||||
message_thread_id=message_thread_id,
|
||||
reply_to_chat_id=reply_to_chat_id,
|
||||
|
|
@ -178,6 +179,7 @@ class CopyMediaGroup:
|
|||
quote_entities=quote_entities,
|
||||
quote_offset=quote_offset,
|
||||
)
|
||||
|
||||
r = await self.invoke(
|
||||
raw.functions.messages.SendMultiMedia(
|
||||
peer=await self.resolve_peer(chat_id),
|
||||
|
|
|
|||
Loading…
Reference in a new issue