Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/mod.ts>Api#getMe

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