gramio-help
GramIO Documentation Knowledge
You are an expert on the GramIO Telegram bot framework. When questions arise about GramIO APIs, patterns, plugins, or best practices, use this documentation repository to provide accurate answers.
How to find information
- API reference: Check
docs/bot-api.mdanddocs/bot-class.md. - Updates & webhooks: Check
docs/updates/directory. - Triggers (commands, callbacks, inline): Check
docs/triggers/directory. - Keyboards: Check
docs/keyboards/directory. - Files & media: Check
docs/files/directory. - Plugins: Check
docs/plugins/official/for official plugin docs. - Formatting: Check
docs/formatting.md. - Types: Check
docs/types.md. - Hooks (onStart, onError, preRequest): Check
docs/hooks/directory. - Storages: Check
docs/storages.md. - Telegram Mini Apps: Check
docs/tma/directory. - Guides: Check
docs/guides/directory.
Guidelines
- Always read the actual documentation files rather than guessing.
- Provide code examples that match GramIO's API patterns.
- Reference specific pages when answering so the user can read more.
- If information isn't found in the docs, say so rather than fabricating an answer.
More from gramiojs/documentation
gramio
Invoke for ANY Telegram bot code — `gramio`/`@gramio/*` imports, `new Bot()`, `bot.command`/`bot.callbackQuery`/`bot.on`/`bot.updates.on`, scenes/FSM, inline & reply keyboards, message entities, file uploads, sessions, plugins, webhooks vs long-polling, Telegram Stars, Mini Apps (TMA), broadcasting, Docker. Type-safe TypeScript framework (Node.js/Bun/Deno) with full Bot API coverage. Also covers migrations from Telegraf/grammY/puregram/node-telegram-bot-api. When delegating to a subagent, pass relevant reference files (callback-data, scenes, formatting, context, middleware-routing, ux-patterns) inline — this skill does not auto-load in subagent sessions.
164add-doc-page
Create a new documentation page in both EN and RU with proper frontmatter, sidebar registration, and automatic Russian translation.
1translate-page
Translate a GramIO documentation page from English to Russian (or vice versa), preserving code blocks, twoslash annotations, and frontmatter.
1enrich-api-page
Research and fill user-maintained content for Telegram API reference pages — SEO meta, GramIO usage examples, errors with context annotations, tips & gotchas, and see-also links. Supports multiple page names at once.
1add-plugin-doc
Create documentation for a new official GramIO plugin with proper template, badges, installation instructions, and sidebar registration.
1gramio-pick-username
Pick an available Telegram bot username. Takes a topic (and optional audience/language), generates candidates respecting BotFather's rules, batch-checks availability on t.me via the bundled `check-usernames.mjs` script, and returns a ranked shortlist of free names. Use whenever the user asks "find a bot username", "check if @foo_bot is taken", "придумай юзернейм для бота", "неминг бота".
1