import { Api } from "https://deno.land/x/grammy@v1.27.0/core/api.ts";
Use this method to send an animated emoji that will display a random value. On success, the sent Message is returned.
Parameters
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Emoji on which the dice throw animation is based. Currently, must be one of βπ²β, βπ―β, βπβ, ββ½β, or βπ°β. Dice can have values 1-6 for βπ²β and βπ―β, values 1-5 for βπβ and ββ½β, and values 1-64 for βπ°β. Defaults to βπ²β
optional
other: Other<R, "sendDice", "chat_id" | "emoji">Optional remaining parameters, confer the official reference below
optional
signal: AbortSignalOptional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#senddice