You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: telebot/apihelper.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1903,7 +1903,9 @@ def send_invoice(
1903
1903
:param message_thread_id: Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
1904
1904
:param reply_parameters: A JSON-serialized object for an inline keyboard. If empty, one 'Pay total price' button will be shown. If not empty, the first button must be a Pay button.
1905
1905
:param message_effect_id: Unique identifier of the message effect to be added to the message; for private chats only
1906
-
:param allow_paid_broadcast:
1906
+
:param allow_paid_broadcast: Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance
1907
+
:param direct_messages_topic_id: Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
1908
+
:param suggested_post_parameters: A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.
HTTP URL. If omitted, then the thumbnail is dropped and the first sticker is used as the thumbnail.
8215
8220
:type thumbnail: :obj:`filelike object`
8216
8221
8222
+
:param format: Format of the thumbnail, must be one of “static” for a .WEBP or .PNG image, “animated” for a .TGS animation, or “video” for a WEBM video
:param message_thread_id: Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
1915
1918
:param reply_parameters: A JSON-serialized object for an inline keyboard. If empty, one 'Pay total price' button will be shown. If not empty, the first button must be a Pay button.
1916
1919
:param message_effect_id: Unique identifier of the message effect to be added to the message; for private chats only
1917
-
:param allow_paid_broadcast:
1920
+
:param allow_paid_broadcast: Pass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance
1921
+
:param direct_messages_topic_id: Identifier of the direct messages topic to which the message will be sent; required if the message is sent to a direct messages chat
1922
+
:param suggested_post_parameters: A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.
0 commit comments