An animated dice with a random value to be sent

For convenience, known dice emojis are available as static members of Dice.

Note that dice result value is generated randomly on the server, you can't influence it in any way!

interface InputMediaDice {
    caption?: InputText;
    emoji: string;
    type: "dice";
}

Hierarchy (view full)

Properties

Properties

caption?: InputText

Caption of the media

emoji: string

Emoji representing a dice

type: "dice"