File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
pyrogram/methods/payments Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ async def send_invoice(
4040 message_thread_id : int = None ,
4141 quote_text : str = None ,
4242 allow_paid_broadcast : bool = None ,
43+ message_effect_id : int = None ,
4344 quote_entities : List ["types.MessageEntity" ] = None ,
4445 reply_markup : "types.InlineKeyboardMarkup" = None
4546 ):
@@ -106,6 +107,9 @@ async def send_invoice(
106107 allow_paid_broadcast (``bool``, *optional*):
107108 Pass True to allow the message to ignore regular broadcast limits for a small fee; for bots only
108109
110+ message_effect_id (``int`` ``64-bit``, *optional*):
111+ Unique identifier of the message effect to be added to the message; for private chats only.
112+
109113 quote_entities (List of :obj:`~pyrogram.types.MessageEntity`, *optional*):
110114 List of special entities that appear in quote_text, which can be specified instead of *parse_mode*.
111115 for reply_to_message only.
@@ -207,6 +211,7 @@ async def send_invoice(
207211 extended_media = extended_media
208212 ),
209213 allow_paid_floodskip = allow_paid_broadcast ,
214+ effect = message_effect_id ,
210215 random_id = self .rnd_id (),
211216 reply_to = reply_to ,
212217 message = "" ,
You can’t perform that action at this time.
0 commit comments