El catálogo/Telegram

Telegram

app.telegram

Send messages and manage chats via Telegram Bot API

Clave de APIcommunicationLeer el código
Versión2.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 monorepo, junto al resto de aplicaciones.

Leer el códigoVolver al catálogo

Telegram · Agent Apps