#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 766483995 |
| | Identifier uniquely determining a type of the object.
|
| |
Toncoins were gifted to a user.
Definition at line 42106 of file td_api.h.
◆ messageGiftedTon() [1/2]
| td::td_api::messageGiftedTon::messageGiftedTon |
( |
| ) |
|
Toncoins were gifted to a user.
◆ messageGiftedTon() [2/2]
Toncoins were gifted to a user.
- Parameters
-
| [in] | gifter_user_id_ | The identifier of a user who gifted Toncoins; 0 if the gift was anonymous or is outgoing. |
| [in] | receiver_user_id_ | The identifier of a user who received Toncoins; 0 if the gift is incoming. |
| [in] | ton_amount_ | The received Toncoin amount, in the smallest units of the cryptocurrency. |
| [in] | transaction_id_ | Identifier of the transaction for Toncoin credit; for receiver only. |
| [in] | sticker_ | A sticker to be shown in the message; may be null if unknown. |
◆ store()
| void td::td_api::messageGiftedTon::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.
◆ gifter_user_id_
| int53 td::td_api::messageGiftedTon::gifter_user_id_ |
The identifier of a user who gifted Toncoins; 0 if the gift was anonymous or is outgoing.
Definition at line 42117 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::messageGiftedTon::ID = 766483995 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 42144 of file td_api.h.
◆ receiver_user_id_
| int53 td::td_api::messageGiftedTon::receiver_user_id_ |
The identifier of a user who received Toncoins; 0 if the gift is incoming.
Definition at line 42119 of file td_api.h.
◆ sticker_
A sticker to be shown in the message; may be null if unknown.
Definition at line 42125 of file td_api.h.
◆ ton_amount_
| int53 td::td_api::messageGiftedTon::ton_amount_ |
The received Toncoin amount, in the smallest units of the cryptocurrency.
Definition at line 42121 of file td_api.h.
◆ transaction_id_
| string td::td_api::messageGiftedTon::transaction_id_ |
Identifier of the transaction for Toncoin credit; for receiver only.
Definition at line 42123 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