Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


The Telegram Bot Framework.
Very Popular
Go to Latest
// Commonly used stuffexport { Bot, type BotConfig, BotError, type ErrorHandler, type PollingOptions,} from "./bot.ts";
export { InputFile } from "./types.ts";
export { type CallbackQueryContext, type ChatTypeContext, type CommandContext, Context, type GameQueryContext, type HearsContext, type InlineQueryContext, type ReactionContext,} from "./context.ts";
// Convenience stuff, built-in plugins, and helpersexport * from "./convenience/constants.ts";export * from "./convenience/inline_query.ts";export * from "./convenience/input_media.ts";export * from "./convenience/keyboard.ts";export * from "./convenience/session.ts";export * from "./convenience/webhook.ts";
// A little more advanced stuffexport { type CallbackQueryMiddleware, type ChatTypeMiddleware, type CommandMiddleware, Composer, type GameQueryMiddleware, type HearsMiddleware, type InlineQueryMiddleware, type Middleware, type MiddlewareFn, type MiddlewareObj, type NextFunction, type ReactionMiddleware,} from "./composer.ts";
export { type Filter, type FilterQuery, matchFilter } from "./filter.ts";
// Internal stuff for expert usersexport { Api } from "./core/api.ts";export { type ApiCallFn, type ApiClientOptions, type RawApi, type TransformableApi, type Transformer, type WebhookReplyEnvelope,} from "./core/client.ts";export { GrammyError, HttpError } from "./core/error.ts";