import { Api } from "https://deno.land/x/grammy@v1.31.2/mod.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 remaining parameters, confer the official reference below
optional
signal: AbortSignalOptional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#senddice