Skip to content

Commit 0108128

Browse files
committed
pyrofork: Add missing allow_paid_broadcast and message_effect_id parameters to Message.reply_media_group
Signed-off-by: wulan17 <wulan17@nusantararom.org>
1 parent baa27a0 commit 0108128

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyrogram/types/messages_and_media/message.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2759,6 +2759,7 @@ async def reply_media_group(
27592759
quote_text: str = None,
27602760
quote_entities: List["types.MessageEntity"] = None,
27612761
allow_paid_broadcast: bool = None,
2762+
message_effect_id: int = None,
27622763
parse_mode: Optional["enums.ParseMode"] = None,
27632764
invert_media: bool = None
27642765
) -> List["types.Message"]:
@@ -2815,6 +2816,9 @@ async def reply_media_group(
28152816
allow_paid_broadcast (``bool``, *optional*):
28162817
Pass True to allow the message to ignore regular broadcast limits for a small fee; for bots
28172818
2819+
message_effect_id (``int``, *optional*):
2820+
Unique identifier of the message effect to be added to the message; for private chats only.
2821+
28182822
invert_media (``bool``, *optional*):
28192823
Inverts the position of the media and caption.
28202824
@@ -2854,6 +2858,8 @@ async def reply_media_group(
28542858
reply_to_chat_id=reply_to_chat_id,
28552859
quote_text=quote_text,
28562860
quote_entities=quote_entities,
2861+
allow_paid_broadcast=allow_paid_broadcast,
2862+
message_effect_id=message_effect_id,
28572863
invert_media=invert_media
28582864
)
28592865

0 commit comments

Comments
 (0)