Skip to content

Commit

Permalink
fix(pyrogram.methods.messages.copy_media_group): reply_to: miss param…
Browse files Browse the repository at this point in the history
…eter client
  • Loading branch information
n/a committed Jan 28, 2025
1 parent 4a50a91 commit 361acdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyrogram/methods/messages/copy_media_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ async def copy_media_group(
)

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,
Expand All @@ -178,6 +179,7 @@ async def copy_media_group(
quote_entities=quote_entities,
quote_offset=quote_offset,
)

r = await self.invoke(
raw.functions.messages.SendMultiMedia(
peer=await self.resolve_peer(chat_id),
Expand Down

0 comments on commit 361acdb

Please sign in to comment.