Skip to main content
TelegramTools enable an Agent to send messages and media to Telegram chats using the Telegram Bot API. 9 tool methods cover text, photos, documents, video, audio, animations, stickers, editing, and deleting messages.

Prerequisites

Example

The following agent will send a message to a Telegram chat.
cookbook/14_tools/telegram_tools.py

Toolkit Params

Toolkit Functions

All methods return a JSON string with {"status": "success", "message_id": ...} on success or {"status": "error", "message": ...} on failure.

Developer Resources