Module

x/grammy/bot.ts

The Telegram Bot Framework.
Very Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/grammy@v1.12.3/bot.ts";

Classes

This is the single most important class of grammY. It represents your bot.

This error is thrown when middleware throws. It simply wraps the original error (accessible via the error property), but also provides access to the respective context object that was processed while the error occurred.

Interfaces

Options to pass to the bot when creating it.

Options that can be specified when running the bot via simple long polling.

Type Aliases

Error handler that can be installed on a bot to catch error thrown by middleware.