pyrofork: Add missing allow_paid_broadcast and message_effect_id parameters to Message.reply_media_group

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2025-01-26 20:27:33 +07:00
parent 0b220def26
commit fabe0464fa
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -2759,6 +2759,7 @@ class Message(Object, Update):
quote_text: str = None, quote_text: str = None,
quote_entities: List["types.MessageEntity"] = None, quote_entities: List["types.MessageEntity"] = None,
allow_paid_broadcast: bool = None, allow_paid_broadcast: bool = None,
message_effect_id: int = None,
parse_mode: Optional["enums.ParseMode"] = None, parse_mode: Optional["enums.ParseMode"] = None,
invert_media: bool = None invert_media: bool = None
) -> List["types.Message"]: ) -> List["types.Message"]:
@ -2815,6 +2816,9 @@ class Message(Object, Update):
allow_paid_broadcast (``bool``, *optional*): allow_paid_broadcast (``bool``, *optional*):
Pass True to allow the message to ignore regular broadcast limits for a small fee; for bots 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*): invert_media (``bool``, *optional*):
Inverts the position of the media and caption. Inverts the position of the media and caption.
@ -2854,6 +2858,8 @@ class Message(Object, Update):
reply_to_chat_id=reply_to_chat_id, reply_to_chat_id=reply_to_chat_id,
quote_text=quote_text, quote_text=quote_text,
quote_entities=quote_entities, quote_entities=quote_entities,
allow_paid_broadcast=allow_paid_broadcast,
message_effect_id=message_effect_id,
invert_media=invert_media invert_media=invert_media
) )