View Source ExTDLib.Object.MessageDice (ExTDLib v0.0.4)
A dice message. The dice value is randomly generated by the server.
| Name | Type | Description |
|---|---|---|
| initial_state | DiceStickers | The animated stickers with the initial dice animation; may be null if unknown. 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. updateMessageContent will be sent when the sticker became known. |
| emoji | string | Emoji on which the dice throw animation is based. |
| value | number | The dice value. If the value is 0, the dice don't have final state yet. |
| success_animation_frame_number | number | Number of frame after which a success animation like a shower of confetti needs to be shown on updateMessageSendSucceeded. |
More details on telegram's documentation.