telegram-bot

Look up Telegram Bot API methods, types, and update shapes in a local reference.

Updated Aug 2, 2026
One-click install
npx skills add https://github.com/mikalv/pi-extensions --skill telegram-bot-mikalv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: telegram-bot
Source: https://github.com/mikalv/pi-extensions/tree/main/packages/pi-telegram/.agents/skills/telegram-bot
Command: npx skills add https://github.com/mikalv/pi-extensions --skill telegram-bot-mikalv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Telegram Bot API details change frequently, and model training data often lags behind recent releases like Rich Messages, Ephemeral Messages, and Communities. This Skill provides a vendored local copy of the Bot API reference with structured lookup indexes so implementation and review decisions are grounded in the actual documented surface rather than stale or hallucinated knowledge. ## Core Features & Use Cases - Indexed Reference Lookup: Navigate a large local api.md via line ranges, anchors, exact-symbol search, and task-oriented recipes instead of reading the whole file. - Freshness-First Protocol: Check recent changelog entries (Bot API 10.0-10.2) first to verify new methods, fields, and update types before writing code. - Capability Verification: Cross-check inbound update shapes against outbound method parameters for forum topics, callbacks, reactions, media, ephemeral messages, and guest queries. - Use Case: When asked whether sendChatAction supports forum thread targeting, search the reference for message_thread_id, read the method section, and cite the anchor as evidence in your code change. ## Quick Start Ask the agent to check whether a specific Telegram Bot API method or field exists and how it behaves, and it will look up the answer in the local reference.

Frequently Asked Questions about telegram-bot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if a Telegram Bot API method supports forum topics?▼

Search the local reference for message_thread_id and read the specific send method section, such as sendMessage or sendChatAction. The reference documents which methods accept thread targeting parameters and which update shapes carry thread metadata.

How to verify new Telegram Bot API features before coding?▼

Read the recent changelog section first (Bot API 10.0-10.2), extract the new symbol names, then search each symbol in the full reference to confirm its exact type or method definition. Trust the local reference over prior model knowledge when they differ.

Does the Telegram Bot API support ephemeral messages?▼

Yes, Bot API 10.2 introduced Ephemeral Messages with receiver_user and ephemeral_message_id fields on Message, plus dedicated edit and delete methods. Ephemeral messages use receiver-scoped identity, so ordinary message_id ownership does not apply for edits or deletion.

Why am I not receiving reaction updates from the Telegram Bot API?▼

Reaction updates require explicit opt-in via the allowed_updates parameter in getUpdates or setWebhook, and the bot must be an administrator in the chat. The default update set excludes message_reaction and message_reaction_count.

What are the file upload limits for the Telegram Bot API?▼

The cloud Bot API has standard upload limits, while a local Bot API server allows uploads up to 2000 MB, downloads without size limits, and local file path access. The reference documents both transport modes and their constraints.