Telegram Bot Builder
Skill by davila7
Telegram Bot Builder guides building Telegram bots with the Bot API v9.4 in Node.js and Python. It covers webhooks, keyboards, media, payments and deployment. It is for developers creating or deploying Telegram bots.
Install Telegram Bot Builder
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/development/telegram-bot-builder ~/.claude/skills/telegram-bot-builderRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/development/telegram-bot-builder ~/.gemini/antigravity-cli/skills/telegram-bot-builderAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install Telegram Bot Builder in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Telegram Bot Builder is a skill that gives an AI assistant guidance for building Telegram bots with the Bot API (v9.4). It covers Node.js and Python, including libraries such as node-telegram-bot-api, grammy, python-telegram-bot and aiogram. Topics include bot tokens, long polling and webhooks, message formatting, inline and reply keyboards, media, conversation state and error handling.
The skill is split into SKILL.md for core concepts and reference files covering over 100 API methods, over 200 API types, and implementation patterns. It also covers deployment with Docker, PM2 and serverless options, and includes a security checklist for webhooks, tokens and rate limiting. It is aimed at developers who want to build a production-ready Telegram bot.
Written from the project's SKILL.md and checked against it.
What it can do
- Bot setupExplains bot token authentication and quick starts for Node.js and Python.
- UpdatesCovers long polling with getUpdates and webhooks with setWebhook.
- KeyboardsDescribes inline and reply keyboards and handling callback queries.
- MediaShows how to send photos, documents and albums with file_id, URL or upload.
- PaymentsCovers sendInvoice and Telegram Stars using currency XTR.
- Bot commandsExplains registering menu commands with setMyCommands and scoping them.
- Error handlingDescribes handling 429, 403, 400 and 409 responses with retries and backoff.
- DeploymentGives guidance for Docker, PM2, serverless and VPS deployments.
What you need
- A Telegram bot token from @BotFather
- Node.js or Python
- An HTTPS endpoint for webhooks
Try asking
- Create a Telegram bot with inline keyboards and callback query handling.
- Set up a Telegram webhook with a secret token for my bot.
- Add Telegram Stars payments to my bot using sendInvoice.
Good to know
- Bot API file limits are 50MB upload and 20MB download.
- Webhooks require HTTPS on ports 443, 80, 88 or 8443.
- Polling returns a 409 conflict if another instance uses the same token.
- Rate limits are about 30 messages per second to different chats.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/development/telegram-bot-builder/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
reference/api_methods.md15 KB -
reference/api_types.md22 KB -
reference/patterns_and_examples.md27 KB
Alternatives to Telegram Bot Builder
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
Telegram Bot Builder: common questions
Does Telegram Bot Builder support Node.js and Python?
Yes. The skill covers both Node.js and Python ecosystems and includes examples for each.
When should I use webhooks instead of polling?
The skill says polling suits development and small bots, while webhooks suit production deployments handling high traffic.
Does it cover Telegram payments?
Yes. It covers sendInvoice and answerPreCheckoutQuery, and says to use currency XTR for Telegram Stars.
How do I install Telegram Bot Builder?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Telegram Bot Builder free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Telegram Bot Builder safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Telegram Bot Builder?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
