Inherits InputMessageContent.
|
|
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.
|
| |
◆ inputMessageStakeDice() [1/2]
◆ inputMessageStakeDice() [2/2]
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 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 TlObject.
The documentation for this class was generated from the following file: