telegramx.js

Dice

interface

This object represents an animated emoji that displays a random value.

Declaration

interface Dice 

Properties

emojiproperty#
emoji: string;

Emoji on which the dice throw animation is based

valueproperty#
value: number;

Value of the dice, 1-6 for "🎲", "🎯" and "🎳" base emoji, 1-5 for "🏀" and "⚽" base emoji, 1-64 for "🎰" base emoji