#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| string | state_hash_ |
| | Hash of the stake dice state. The state hash can be used only if it was received recently enough. Otherwise, a new state must be requested using getStakeDiceState.
|
| |
| int53 | stake_toncoin_amount_ |
| | The Toncoin amount that will be staked; in the smallest units of the currency. Must be in the range getOption("stake_dice_stake_amount_min")-getOption("stake_dice_stake_amount_max").
|
| |
| bool | clear_draft_ |
| | True, if the chat message draft must be deleted.
|
| |
|
| static const std::int32_t | ID = 1946603673 |
| | Identifier uniquely determining a type of the object.
|
| |
A stake dice message.
Definition at line 29892 of file td_api.h.
◆ inputMessageStakeDice() [1/2]
| td::td_api::inputMessageStakeDice::inputMessageStakeDice |
( |
| ) |
|
◆ inputMessageStakeDice() [2/2]
| td::td_api::inputMessageStakeDice::inputMessageStakeDice |
( |
string const & |
state_hash_, |
|
|
int53 |
stake_toncoin_amount_, |
|
|
bool |
clear_draft_ |
|
) |
| |
A stake dice message.
- Parameters
-
| [in] | state_hash_ | Hash of the stake dice state. The state hash can be used only if it was received recently enough. Otherwise, a new state must be requested using getStakeDiceState. |
| [in] | stake_toncoin_amount_ | The Toncoin amount that will be staked; in the smallest units of the currency. Must be in the range getOption("stake_dice_stake_amount_min")-getOption("stake_dice_stake_amount_max"). |
| [in] | clear_draft_ | True, if the chat message draft must be deleted. |
◆ store()
| void td::td_api::inputMessageStakeDice::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.
◆ clear_draft_
| bool td::td_api::inputMessageStakeDice::clear_draft_ |
True, if the chat message draft must be deleted.
Definition at line 29907 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::inputMessageStakeDice::ID = 1946603673 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 29924 of file td_api.h.
◆ stake_toncoin_amount_
| int53 td::td_api::inputMessageStakeDice::stake_toncoin_amount_ |
The Toncoin amount that will be staked; in the smallest units of the currency. Must be in the range getOption("stake_dice_stake_amount_min")-getOption("stake_dice_stake_amount_max").
Definition at line 29905 of file td_api.h.
◆ state_hash_
| string td::td_api::inputMessageStakeDice::state_hash_ |
Hash of the stake dice state. The state hash can be used only if it was received recently enough. Otherwise, a new state must be requested using getStakeDiceState.
Definition at line 29903 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