El catálogo/Telegram

Telegram

app.telegram

Send messages and manage chats via Telegram Bot API

Clave de APIcommunicationLeer el código↗
Versión3.0.0
Categoríacommunication
AutenticaciónClave de API
Herramientas14
Transportestdio
LicenciaMIT
01

Qué hace

La aplicación, en sus propias palabras.

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

telegrammessagingbotchatnotifications
02

Herramientas

14 herramientas que el agente puede llamar.

Todas se declaran con parámetros tipados y devuelven resultados estructurados, así que el anfitrión puede renderizarlas en vez de narrarlas.

  • 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

Autenticación y permisos

Qué pide.

Declarado en el manifiesto y por adelantado. La aplicación no puede alcanzar nada que no haya pedido aquí.

Secretos de sistema

BOT_TOKEN

Seguir leyendo

El manifiesto y el código de Telegram están en el repositorio, junto al resto de apps.

Leer el código↗Volver al catálogo→

Telegram · Agent Apps