Inherits MessageContent.
A 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. | |
| string | emoji_ |
| Emoji on which the dice throw animation is based. | |
| int32 | value_ |
| The dice value. If the value is 0, the dice don't have final state yet. | |
| int32 | success_animation_frame_number_ |
| Number of frame after which a success animation like a shower of confetti needs to be shown on updateMessageSendSucceeded. | |
Public Instance Methods | |
| messageDice () | |
| messageDice (object_ptr< DiceStickers > &&initial_state_, object_ptr< DiceStickers > &&final_state_, string const &emoji_, int32 value_, int32 success_animation_frame_number_) | |
| 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 = 1115779641 |
| Identifier uniquely determining a type of the object. | |
| messageDice | ( | ) |
A dice message. The dice value is randomly generated by the server.
| messageDice | ( | object_ptr< DiceStickers > && | initial_state_, |
| object_ptr< DiceStickers > && | final_state_, | ||
| string const & | emoji_, | ||
| int32 | value_, | ||
| int32 | success_animation_frame_number_ | ||
| ) |
A 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] | emoji_ | Emoji on which the dice throw animation is based. |
| [in] | value_ | The dice value. If the value is 0, the dice don't have final state yet. |
| [in] | success_animation_frame_number_ | Number of frame after which a success animation like a shower of confetti needs to be shown on updateMessageSendSucceeded. |
|
finalvirtual |