Skip to main content
Latest
import * as grammyRunner from "https://deno.land/x/grammy_runner@v2.0.3/deps.deno.ts";

Namespaces

Internal namespace used to make some message types more accurate

Classes

This class provides access to the full Telegram Bot API. All methods of the API have an equivalent on this class, with the most important parameters pulled up into the function signature, and the other parameters captured by an object.

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.

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

Interfaces

Options to pass to the bot when creating it.

This object represents an incoming update. At most one of the optional parameters can be present in any given update.

Internal type holding properties that message updates in channels share.

Internal type holding properties that updates about edited messages share.

Internal type holding properties that message updates outside of channels share.

This object represents a Telegram user or bot that was returned by getMe.