Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grammy/types.deno.ts>Dice

The Telegram Bot Framework.
Very Popular
Go to Latest
interface Dice
import { type Dice } from "https://deno.land/x/grammy@v1.10.1/types.deno.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