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

x/grammy/bot.ts

The Telegram Bot Framework.
Very Popular
Latest
import * as grammy from "https://deno.land/x/grammy@v1.30.1/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.