Module

x/grammy/context.ts

The Telegram Bot Framework.
Go to Latest
import * as grammy from "https://deno.land/x/grammy@v1.11.1/context.ts";

Classes

When your bot receives a message, Telegram sends an update object to your bot. The update contains information about the chat, the user, and of course the message itself. There are numerous other updates, too: https://core.telegram.org/bots/api#update

Type Aliases

Type of the context object that is available inside the handlers for bot.callbackQuery.

Type of the context object that is available inside the handlers for bot.chatType.

Type of the context object that is available inside the handlers for bot.command.

Type of the context object that is available inside the handlers for bot.gameQuery.

Type of the context object that is available inside the handlers for bot.hears.

Type of the context object that is available inside the handlers for bot.inlineQuery.