Module

x/grammy/mod.ts

The Telegram Bot Framework.
Go to Latest
File
// Commonly used stuffexport { Bot, type BotConfig, BotError, type ErrorHandler, type PollingOptions,} from "./bot.ts";
export { InputFile } from "./platform.deno.ts";
export { Context } from "./context.ts";
// Convenience stuff and helpersexport * from "./convenience/keyboard.ts";export * from "./convenience/session.ts";export * from "./convenience/webhook.ts";
// A little more advanced stuffexport { type CallbackQueryContext, type CallbackQueryMiddleware, type ChatTypeContext, type ChatTypeMiddleware, type CommandContext, type CommandMiddleware, Composer, type GameQueryContext, type GameQueryMiddleware, type HearsContext, type HearsMiddleware, type InlineQueryContext, 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";