TgKit library and website are still in early development!

Dice Class

extends Base

Represents an animated emoji that displays a random value

Properties

clientemojivalue

Properties

client Client

See the code

emoji DiceEmoji

Emoji on which the dice throw animation is based

See the code

value number

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

See the code