Skip to main content
Module

x/grammy/core/api.ts>Api#getMe

The Telegram Bot Framework.
Extremely Popular
Go to Latest
method Api.prototype.getMe
import { Api } from "https://deno.land/x/grammy@v1.11.1/core/api.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