A simple method for testing your bot's authentication token. Requires no parameters. Returns basic information about the bot in form of a User object.
A simple method for testing your bot's authentication token. Requires no parameters. Returns basic information about the bot in form of a User object.
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";