Module

x/grammy/context.ts

The Telegram Bot Framework.
Very Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/grammy@v1.18.3/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.chosenInlineResult.

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.