InputMessageStakeDice¶
A stake dice message
InputMessageStakeDice(
state_hash: string,
stake_gram_amount: int53,
clear_draft: Bool
) → InputMessageContent
state_hash¶
string
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
stake_gram_amount¶
int53
The TON Gram 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")
clear_draft¶
Bool
Pass true to delete message draft in the chat