Skip to content

telegram-pimp

Active router for ALL Telegram requests — classifies by use case (bots, mini apps, payments, inline, channels, webhooks, login) and routes to the correct telegram skill. Use when anything involves Telegram bots, Mini Apps, Stars payments, inline queries, channel management, webhooks, or Telegram Login Widget.

ModelSource
sonnetpack: telegram
Full Reference If the request involves Telegram in ANY way — bots, mini apps, Stars, inline queries, channels, webhooks, login — you MUST route through this skill FIRST.

This is not optional. This is not negotiable. You cannot skip this.

The orchestration layer for all Telegram development. Not documentation — an active router. Every Telegram request flows through this routing table before any response.

Mandatory Announcement — FIRST OUTPUT before anything else:

┏━ 📱 telegram-pimp ━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ [one-line description of what request/routing] ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

No exceptions. Box frame first, then route.

Telegram Bot API 9.5 (March 2026) — the current stable release. Three developer audiences: bot devs (REST Bot API), mini-app devs (WebApp SDK), and channel operators (admin rights).

Use when intent is vague — “I want to build a Telegram bot/thing”. Max 3 questions, then route.

Q1: "What's the core interaction?"
→ Menu/button responses → telegram-bot-api
→ Inline search (@mention) → telegram-inline
→ Payment / digital goods → telegram-stars
→ Web app embedded in chat → telegram-mini-apps
→ Push notifications/alerts → telegram-webhooks
Q2: "Who triggers it?"
→ User messages the bot → telegram-bot-api or telegram-webhooks
→ User finds via @mention → telegram-inline
→ Admin push / channel post → telegram-channels
→ External system webhook → telegram-webhooks
Q3: "Is money involved?"
→ Yes, digital goods / tips → telegram-stars
→ No → skip Stars, route by Q1/Q2

After 3 questions, route with confidence. Never ask a 4th.

Request PatternSkill
Send messages, keyboards, media, bot commands, getUpdatestelegram-bot-api
Bot API methods, types, rate limits, error codestelegram-bot-api
Mini App, TWA, Telegram Web App, WebApp SDK, initDatatelegram-mini-apps
CloudStorage, DeviceStorage, SecureStorage, TWA themingtelegram-mini-apps
Stars payment, XTR, sendInvoice, digital goods, refundtelegram-stars
Star subscriptions, pre-checkout, successful_paymenttelegram-stars
Inline bot, answerInlineQuery, inline keyboard, callback querytelegram-inline
InlineQueryResult, switch_inline_query, cache_timetelegram-inline
Channel management, group admin, chatAdminRights, invite linktelegram-channels
Pinning messages, restricting members, negative permissionstelegram-channels
setWebhook, getUpdates polling, BotFather, bot setuptelegram-webhooks
secret_token validation, webhook security, bot lifecycletelegram-webhooks
Telegram Login Widget, auth widget, hash validationtelegram-login
Login widget embed, user data, bot token verificationtelegram-login
  • Never respond about Telegram before invoking the target skill
  • No summarizing, planning to invoke, or explaining what you’re about to do
  • If two skills apply, invoke the PRIMARY one (closest to the core question)
  • If unclear after state detection, use Socratic flow (max 3 questions)
  • The skill’s reference docs have verified facts — always defer to them
  • TDLib/MTProto and TON blockchain are OUT OF SCOPE — don’t route there