Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of BotCommand objects. If commands aren't set, an empty list is returned.
Use this method to get the current list of the bot's commands for the given scope and user language. Returns an Array of BotCommand objects. If commands aren't set, an empty list is returned.
Add Package
deno add jsr:@gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
---- OR ----
Import directly with a jsr specifier
import { type APIMethods } from "jsr:@gramio/types";
Add Package
npx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
Add Package
yarn dlx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
Add Package
pnpm dlx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
Add Package
bunx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";