#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| string | currency_ |
| | ISO 4217 currency code of the payment currency.
|
| |
| int53 | amount_ |
| | Paid amount, in the smallest units of the currency.
|
| |
| int53 | user_id_ |
| | Identifiers of the user which will receive Telegram Premium.
|
| |
| 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 = -39502443 |
| | Identifier uniquely determining a type of the object.
|
| |
The user gifting Telegram Premium to another user.
Definition at line 68101 of file td_api.h.
◆ storePaymentPurposePremiumGift() [1/2]
| td::td_api::storePaymentPurposePremiumGift::storePaymentPurposePremiumGift |
( |
| ) |
|
The user gifting Telegram Premium to another user.
◆ storePaymentPurposePremiumGift() [2/2]
The user gifting Telegram Premium to another user.
- Parameters
-
| [in] | currency_ | ISO 4217 currency code of the payment currency. |
| [in] | amount_ | Paid amount, in the smallest units of the currency. |
| [in] | user_id_ | Identifiers of the user which will receive Telegram Premium. |
| [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::storePaymentPurposePremiumGift::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::storePaymentPurposePremiumGift::amount_ |
Paid amount, in the smallest units of the currency.
Definition at line 68114 of file td_api.h.
◆ currency_
| string td::td_api::storePaymentPurposePremiumGift::currency_ |
ISO 4217 currency code of the payment currency.
Definition at line 68112 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::storePaymentPurposePremiumGift::ID = -39502443 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 68136 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 68118 of file td_api.h.
◆ user_id_
| int53 td::td_api::storePaymentPurposePremiumGift::user_id_ |
Identifiers of the user which will receive Telegram Premium.
Definition at line 68116 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