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
{{ message }}
Repository navigation
Commit 8599465
Browse filesBrowse the repository at this point in the historyBrowse files
//@description Contains a list of options for gifting Telegram Premium to a user @options The list of options sorted by Telegram Premium subscription duration
//@description Describes an option for creation of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members. Use telegramPaymentPurposePremiumGiftCodes or telegramPaymentPurposePremiumGiveaway for out-of-store payments
985
+
//@description Describes an option for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members. Use telegramPaymentPurposePremiumGiftCodes or telegramPaymentPurposePremiumGiveaway for out-of-store payments
986
986
//@currency ISO 4217 currency code for Telegram Premium gift code payment
987
987
//@amount The amount to pay, in the smallest units of the currency
988
988
//@winner_count Number of users which will be able to activate the gift codes
//@description Contains a list of options for creation of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members @options The list of options
994
+
//@description Contains a list of options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members @options The list of options
//@description A message with a story @is_mention True if the user was mentioned in the story @is_pinned True, if the message is a pinned message with the specified content
6684
+
//@description A message with a story @is_mention True, if the user was mentioned in the story @is_pinned True, if the message is a pinned message with the specified content
//@description Sends a gift to another user or channel chat. May return an error with a message "STARGIFT_USAGE_LIMITED" if the gift was sold out
11852
11852
//@gift_id Identifier of the gift to send
11853
11853
//@owner_id Identifier of the user or the channel chat that will receive the gift
11854
-
//@text Text to show along with the gift; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed
11854
+
//@text Text to show along with the gift; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed.
11855
11855
//-Must be empty if the receiver enabled paid messages
11856
11856
//@is_private Pass true to show gift text and sender only to the gift receiver; otherwise, everyone will be able to see them
11857
11857
//@pay_for_upgrade Pass true to additionally pay for the gift upgrade and allow the receiver to upgrade it for free
//@description Returns available options for creation of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members
12386
+
//@description Returns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members
12387
12387
//@boosted_chat_id Identifier of the supergroup or channel chat, which will be automatically boosted by receivers of the gift codes and which is administered by the user
0 commit comments