Module

x/grammy/mod.ts>Api#getMe

The Telegram Bot Framework.
Very Popular
Go to Latest
method Api.prototype.getMe
import { Api } from "https://dotland.deno.dev/x/grammy@v1.19.1/mod.ts";

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.

Parameters

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#getme