#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| int53 | boosted_chat_id_ |
| | Identifier of the supergroup or channel chat, which will be automatically boosted by the users for duration of the Premium subscription and which is administered by the user.
|
| |
| string | currency_ |
| | ISO 4217 currency code of the payment currency.
|
| |
| int53 | amount_ |
| | Paid amount, in the smallest units of the currency.
|
| |
| array< int53 > | user_ids_ |
| | Identifiers of the users which can activate the gift codes.
|
| |
| object_ptr< formattedText > | text_ |
| | Text to show along with the gift codes; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed.
|
| |
|
| static const std::int32_t | ID = -1072286736 |
| | Identifier uniquely determining a type of the object.
|
| |
The user boosting a chat by creating Telegram Premium gift codes for other users.
Definition at line 68149 of file td_api.h.
◆ storePaymentPurposePremiumGiftCodes() [1/2]
| td::td_api::storePaymentPurposePremiumGiftCodes::storePaymentPurposePremiumGiftCodes |
( |
| ) |
|
The user boosting a chat by creating Telegram Premium gift codes for other users.
◆ storePaymentPurposePremiumGiftCodes() [2/2]
The user boosting a chat by creating Telegram Premium gift codes for other users.
- Parameters
-
| [in] | boosted_chat_id_ | Identifier of the supergroup or channel chat, which will be automatically boosted by the users for duration of the Premium subscription and which is administered by the user. |
| [in] | currency_ | ISO 4217 currency code of the payment currency. |
| [in] | amount_ | Paid amount, in the smallest units of the currency. |
| [in] | user_ids_ | Identifiers of the users which can activate the gift codes. |
| [in] | text_ | Text to show along with the gift codes; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed. |
◆ store()
| void td::td_api::storePaymentPurposePremiumGiftCodes::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ amount_
| int53 td::td_api::storePaymentPurposePremiumGiftCodes::amount_ |
Paid amount, in the smallest units of the currency.
Definition at line 68164 of file td_api.h.
◆ boosted_chat_id_
| int53 td::td_api::storePaymentPurposePremiumGiftCodes::boosted_chat_id_ |
Identifier of the supergroup or channel chat, which will be automatically boosted by the users for duration of the Premium subscription and which is administered by the user.
Definition at line 68160 of file td_api.h.
◆ currency_
| string td::td_api::storePaymentPurposePremiumGiftCodes::currency_ |
ISO 4217 currency code of the payment currency.
Definition at line 68162 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::storePaymentPurposePremiumGiftCodes::ID = -1072286736 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 68187 of file td_api.h.
◆ text_
Text to show along with the gift codes; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed.
Definition at line 68168 of file td_api.h.
◆ user_ids_
| array<int53> td::td_api::storePaymentPurposePremiumGiftCodes::user_ids_ |
Identifiers of the users which can activate the gift codes.
Definition at line 68166 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h