Skip to main content
Module

x/grammy/mod.ts

The Telegram Bot Framework.
Very Popular
Go to Latest
File
// 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,} from "./context.ts";
// Convenience stuff, built-in plugins, and helpersexport * 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,} 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";