Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/grammy_types/mod.ts>Dice

Type declarations of the Telegram Bot API.
Latest
interface Dice
import { type Dice } from "https://deno.land/x/grammy_types@v3.16.0/mod.ts";

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

Properties

emoji: string

Emoji on which the dice throw animation is based

value: number

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