#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 1102954151 |
| | Identifier uniquely determining a type of the object.
|
| |
Telegram Stars were gifted to a user.
Definition at line 42043 of file td_api.h.
◆ messageGiftedStars() [1/2]
| td::td_api::messageGiftedStars::messageGiftedStars |
( |
| ) |
|
Telegram Stars were gifted to a user.
◆ messageGiftedStars() [2/2]
Telegram Stars were gifted to a user.
- Parameters
-
| [in] | gifter_user_id_ | The identifier of a user who gifted Telegram Stars; 0 if the gift was anonymous or is outgoing. |
| [in] | receiver_user_id_ | The identifier of a user who received Telegram Stars; 0 if the gift is incoming. |
| [in] | currency_ | Currency for the paid amount. |
| [in] | amount_ | The paid amount, in the smallest units of the currency. |
| [in] | cryptocurrency_ | Cryptocurrency used to pay for the gift; may be empty if none. |
| [in] | cryptocurrency_amount_ | The paid amount, in the smallest units of the cryptocurrency; 0 if none. |
| [in] | star_count_ | Number of Telegram Stars that were gifted. |
| [in] | transaction_id_ | Identifier of the transaction for Telegram Stars purchase; for receiver only. |
| [in] | sticker_ | A sticker to be shown in the message; may be null if unknown. |
◆ store()
| void td::td_api::messageGiftedStars::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::messageGiftedStars::amount_ |
The paid amount, in the smallest units of the currency.
Definition at line 42060 of file td_api.h.
◆ cryptocurrency_
| string td::td_api::messageGiftedStars::cryptocurrency_ |
Cryptocurrency used to pay for the gift; may be empty if none.
Definition at line 42062 of file td_api.h.
◆ cryptocurrency_amount_
| int64 td::td_api::messageGiftedStars::cryptocurrency_amount_ |
The paid amount, in the smallest units of the cryptocurrency; 0 if none.
Definition at line 42064 of file td_api.h.
◆ currency_
| string td::td_api::messageGiftedStars::currency_ |
Currency for the paid amount.
Definition at line 42058 of file td_api.h.
◆ gifter_user_id_
| int53 td::td_api::messageGiftedStars::gifter_user_id_ |
The identifier of a user who gifted Telegram Stars; 0 if the gift was anonymous or is outgoing.
Definition at line 42054 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::messageGiftedStars::ID = 1102954151 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 42093 of file td_api.h.
◆ receiver_user_id_
| int53 td::td_api::messageGiftedStars::receiver_user_id_ |
The identifier of a user who received Telegram Stars; 0 if the gift is incoming.
Definition at line 42056 of file td_api.h.
◆ star_count_
| int53 td::td_api::messageGiftedStars::star_count_ |
Number of Telegram Stars that were gifted.
Definition at line 42066 of file td_api.h.
◆ sticker_
A sticker to be shown in the message; may be null if unknown.
Definition at line 42070 of file td_api.h.
◆ transaction_id_
| string td::td_api::messageGiftedStars::transaction_id_ |
Identifier of the transaction for Telegram Stars purchase; for receiver only.
Definition at line 42068 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