Module

x/grammy/mod.ts

The Telegram Bot Framework.
Go to Latest
File
// Commonly used stuffexport { Bot, BotError } from "./bot.ts";export type { BotConfig, ErrorHandler, 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 { Composer } from "./composer.ts";export type { Middleware, MiddlewareFn, MiddlewareObj, NextFunction,} from "./composer.ts";
export { matchFilter } from "./filter.ts";export type { Filter, FilterQuery } from "./filter.ts";
// Internal stuff for expert usersexport { Api } from "./core/api.ts";export type { ApiCallFn, ApiClientOptions, RawApi, TransformableApi, Transformer, WebhookReplyEnvelope,} from "./core/client.ts";export { GrammyError, HttpError } from "./core/error.ts";