telegram-bot-builder

Solid

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.

AI & Automation 27,681 stars 2854 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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](https://t.me/BotFather). Token format: `123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`. All API calls go to: `https://api.telegram.org/bot<TOKEN>/METHOD_NAME` ```bash # .env file BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 ``` 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: ```javascript // Node.js with node-telegram-bot-api const bot = new TelegramBot(process.env.BOT_TOKEN, { polling: true }); ``` ```python # Python with py...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
11 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category