The catalogue/Telegram

Telegram

app.telegram

Send messages and manage chats via Telegram Bot API

API keycommunicationRead the source
Version2.0.0
Categorycommunication
AuthAPI key
Tools14
Transportstdio
LicenceMIT
01

What it does

The app, in its own words.

Telegram Bot API — send messages, manage chats, handle media, and interact with Telegram users and groups.

telegrammessagingbotchatnotifications
02

Tools

14 tools the agent can call.

Every one is declared with typed parameters and returns structured results, so the host can render them instead of narrating them.

  • answer_callback_querySend an answer to a callback query sent from an inline keyboard. The answer will be displayed as a notification at the top of the chat screen or as an alert.
  • delete_messageDelete a message from a Telegram chat. The bot must have the appropriate permissions. Messages can only be deleted within 48 hours of sending.
  • edit_messageEdit the text of a message previously sent by the bot. Supports HTML, Markdown, and MarkdownV2 formatting.
  • forward_messageForward a message from one Telegram chat to another.
  • get_chatGet up-to-date information about a Telegram chat (group, supergroup, or channel).
  • get_chat_memberGet information about a member of a Telegram chat — status, permissions, and user details.
  • get_chat_members_countGet the number of members in a Telegram chat.
  • get_meGet basic information about the bot — username, name, and capabilities.
  • pin_messagePin a message in a Telegram group, supergroup, or channel. The bot must be an administrator with the appropriate permissions.
  • send_documentSend a document to a Telegram chat. The document can be a URL or a file_id of an already uploaded file.
  • send_locationSend a geographic location (latitude and longitude) to a Telegram chat.
  • send_messageSend a text message to a Telegram chat. Supports HTML, Markdown, and MarkdownV2 formatting.
  • send_photoSend a photo to a Telegram chat. The photo can be a URL or a file_id of an already uploaded photo.
  • set_chat_titleChange the title of a Telegram group, supergroup, or channel. The bot must be an administrator with the appropriate permissions.
03

Auth and permissions

What it asks for.

Declared in the manifest, in advance. The app cannot reach anything it did not ask for here.

System secrets

BOT_TOKEN

Reading further

The manifest and the source for Telegram live in the monorepo, alongside the other apps.

Read the sourceBack to the catalogue

Telegram · Agent Apps