Skip to content

MessageStakeDice

Type · TDLib 1.8.67 · d1085f9c

A stake dice message. The dice value is randomly generated by the server

MessageStakeDice(
  initial_state: DiceStickers,
  final_state: DiceStickers,
  value: int32,
  stake_gram_amount: int53,
  prize_gram_amount: int53
) → MessageContent

initial_state

DiceStickers

The animated stickers with the initial dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known

final_state

DiceStickers

The animated stickers with the final dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known

value

int32

The dice value. If the value is 0, then the dice don't have final state yet

stake_gram_amount

int53

The TON Gram amount that was staked; in the smallest units of the currency

prize_gram_amount

int53

The TON Gram amount that was gained from the roll; in the smallest units of the currency; -1 if the dice don't have final state yet