Skip to content

Commit

Permalink
pyrofork: Add missing allow_paid_broadcast and message_effect_id para…
Browse files Browse the repository at this point in the history
…meters to Message.reply_media_group

Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Jan 26, 2025
1 parent 0b220de commit fabe046
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyrogram/types/messages_and_media/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,7 @@ async def reply_media_group(
quote_text: str = None,
quote_entities: List["types.MessageEntity"] = None,
allow_paid_broadcast: bool = None,
message_effect_id: int = None,
parse_mode: Optional["enums.ParseMode"] = None,
invert_media: bool = None
) -> List["types.Message"]:
Expand Down Expand Up @@ -2815,6 +2816,9 @@ async def reply_media_group(
allow_paid_broadcast (``bool``, *optional*):
Pass True to allow the message to ignore regular broadcast limits for a small fee; for bots
message_effect_id (``int``, *optional*):
Unique identifier of the message effect to be added to the message; for private chats only.
invert_media (``bool``, *optional*):
Inverts the position of the media and caption.
Expand Down Expand Up @@ -2854,6 +2858,8 @@ async def reply_media_group(
reply_to_chat_id=reply_to_chat_id,
quote_text=quote_text,
quote_entities=quote_entities,
allow_paid_broadcast=allow_paid_broadcast,
message_effect_id=message_effect_id,
invert_media=invert_media
)

Expand Down

0 comments on commit fabe046

Please sign in to comment.