Add Plugin Documentation
You are creating documentation for a new official GramIO plugin.
Arguments
The user provides [plugin-name] — e.g., media-cache or session.
Steps
Read an existing plugin page for reference — e.g.,
docs/plugins/official/session.md— to match the exact format.Read AGENTS.md for conventions.
Create the EN plugin page at
docs/plugins/official/{plugin-name}.md:--- title: {Plugin Name} Plugin for GramIO head: - - meta - name: "description" content: "{Brief description of the plugin for SEO}." - - meta - name: "keywords" content: "Telegram bot, GramIO, {plugin-name}, {relevant keywords}" --- # {Plugin Name} Plugin <div class="badges"> [](https://www.npmjs.org/package/@gramio/{plugin-name}) [](https://jsr.io/@gramio/{plugin-name}) [](https://jsr.io/@gramio/{plugin-name}) </div> {Short description of the plugin.} ### Installation ::: code-group ```bash [npm] npm install @gramio/{plugin-name}yarn add @gramio/{plugin-name}pnpm add @gramio/{plugin-name}bun install @gramio/{plugin-name}:::
Usage
import { Bot } from "gramio"; // TODO: Add usage exampleCreate the RU translation at
docs/ru/plugins/official/{plugin-name}.md:- Translate the frontmatter (
title,description,keywords) to Russian. - Translate all body content to Russian (headings, descriptions, paragraphs).
- Preserve code blocks, twoslash annotations, badges, and markdown structure exactly.
- Translate the frontmatter (
Register in EN sidebar — edit
en.locale.ts, add to the Official plugins list.Register in RU sidebar — edit
ru.locale.ts, add to the Официальные plugins list.