Dice
This object represents an animated emoji that displays a random value.
fields
| field | type | required | description |
|---|---|---|---|
emoji | string | required | Emoji on which the dice throw animation is based |
value | number | required | Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji, 1-64 for “🎰” base emoji |
import
import type { Dice } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#dice