Agent skill · writing content · davila7
Telegram Bot Builder
This skill should be used when the user asks to "create a Telegram bot", "build a Telegram chatbot", "set up a Telegram webhook", "add inline keyboards to a bot", "handle Telegram callback queries", "implement Telegram payments", "send media via Telegram bot", "configure Telegram bot commands", "deploy a Telegram bot", or mentions the Telegram Bot API, telegram bot tokens, getUpdates, setWebhook, or bot frameworks like node-telegram-bot-api, grammy, python-telegram-bot, or aiogram. Provides comprehensive guidance for building production-ready Telegram bots with Node.js and Python.
Why this skill is useful
Provides specific patterns and commands for building Telegram bots that the AI wouldn't reliably generate on its own.
What it needs
Requires node, python installed locally. Requires telegram account access. About 4k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.
What this skill does
Telegram Bot Builder Comprehensive guidance for building Telegram bots using the Bot API (v9.4). Covers both Node.js and Python ecosystems with production-ready patterns for authentication, messaging, keyboards, media handling, payments, inline mode, webhooks, and deployment. When to Use This Skill Use this skill when: Building a new Telegram bot from scratch Integrating Telegram messaging into an existing application Setting up webhooks or long polling for bot updates Creating interactive menus with inline keyboards and callback queries Handling media (photos, videos, documents, stickers) Implementing Telegram Payments or Telegram Stars Building inline mode functionality Managing groups, channels, or forum topics via bot Deploying bots to production (Docker, PM2, serverless) Core Concepts Authentication Every bot has a unique token obtained from @BotFather. Token format: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11. All API calls go to: https://api.telegram.org/bot<TOKEN>/METHODNAME Store the token in environment variables. Never commit it to source code. Receiving Updates: Polling vs Webhook Long Polling (getUpdates) - Simpler, no HTTPS required, ideal for development: Webhook (setWebhook) - Better for production, lower latency, requires HTTPS (ports 443, 80, 88, or 8443): Choose polling for development and small bots. Choose webhooks for production deployments handling high traffic. Message Types & Formatting Send text with sendMessage. Supported parse modes: HTML: <b>bold</b>, <i>italic</i>, <code>code</code>, <pre>block</pre>, <a href="url">link</a>, <tg-spoiler>spoiler</tg-spoiler> MarkdownV2: bold, italic, code , , link, spoiler . Requires escaping: ~>#+-= {}.! Prefer HTML for easier escaping. Use MarkdownV2 when simpler formatting suffices. Keyboards & Interactive Elements Inline Keyboard - Buttons attached to messages: Reply Keyboard - Custom keyboard below input field: Handle inline button presses with callbackquery. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills davila7/telegram-bot-builder