typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
17 lines (16 loc) • 458 B
TypeScript
/**
* ## Dice
* This object represents an animated emoji that displays a random value.
* @see https://core.telegram.org/bots/api#dice
*/
export type Dice = {
/**
* Emoji on which the dice throw animation is based
*/
emoji: string;
/**
* Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji,
* 1-64 for “🎰” base emoji
*/
value: number;
};