Inherits MessageContent.
A stake dice message. The dice value is randomly generated by the server.
Public Fields | |
| object_ptr< DiceStickers > | initial_state_ |
| The animated stickers with the initial dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known. | |
| object_ptr< DiceStickers > | final_state_ |
| The animated stickers with the final dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known. | |
| int32 | value_ |
| The dice value. If the value is 0, then the dice don't have final state yet. | |
| int53 | stake_toncoin_amount_ |
| The Toncoin amount that was staked; in the smallest units of the currency. | |
| int53 | prize_toncoin_amount_ |
| The Toncoin amount that was gained from the roll; in the smallest units of the currency; -1 if the dice don't have final state yet. | |
Public Instance Methods | |
| messageStakeDice () | |
| messageStakeDice (object_ptr< DiceStickers > &&initial_state_, object_ptr< DiceStickers > &&final_state_, int32 value_, int53 stake_toncoin_amount_, int53 prize_toncoin_amount_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 844428448 |
| Identifier uniquely determining a type of the object. | |
| messageStakeDice | ( | ) |
A stake dice message. The dice value is randomly generated by the server.
| messageStakeDice | ( | object_ptr< DiceStickers > && | initial_state_, |
| object_ptr< DiceStickers > && | final_state_, | ||
| int32 | value_, | ||
| int53 | stake_toncoin_amount_, | ||
| int53 | prize_toncoin_amount_ | ||
| ) |
A stake dice message. The dice value is randomly generated by the server.
| [in] | initial_state_ | The animated stickers with the initial dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known. |
| [in] | final_state_ | The animated stickers with the final dice animation; may be null if unknown. The update updateMessageContent will be sent when the sticker became known. |
| [in] | value_ | The dice value. If the value is 0, then the dice don't have final state yet. |
| [in] | stake_toncoin_amount_ | The Toncoin amount that was staked; in the smallest units of the currency. |
| [in] | prize_toncoin_amount_ | The Toncoin amount that was gained from the roll; in the smallest units of the currency; -1 if the dice don't have final state yet. |
|
finalvirtual |