Communication18 toolsPaste one API key
Telegram Bot integration for AI agents
Automate Telegram chats and channels through a Telegram Bot. Requires a bot token from @BotFather.
Use it from your agent
One ClawLink account serves every agent you run. Pick the guide for yours, or connect Telegram Bot once and call the same tools from all of them.
Deeper comparison, failure modes and setup details: Telegram Bot for AI agents, in depth.
Setup
Connect telegram through ClawLink's hosted setup.
- Auth: Paste one API key. The credential stays on the ClawLink server; your agent holds only a ClawLink key you can revoke.
- Where: the ClawLink dashboard, or ask your agent to connect it.
What your agent can do
Telegram Bot exposes 18 tools through ClawLink. The 17 most used are listed here; your agent sees all of them.
| Tool | What it does | Kind |
|---|---|---|
telegram_answer_callback_query | Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. | Read |
telegram_create_chat_invite_link | Generate a new primary invite link for a chat; any previously generated primary link is revoked. | Write |
telegram_edit_message | Edit text messages sent by the bot. Only bot-authored messages can be edited; editing messages from other users will fail. In groups, the bot must have edit permissions. | Write |
telegram_forward_message | Forward messages of any kind. Service messages can't be forwarded. | Write |
telegram_get_chat | Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). | Read |
telegram_get_chat_administrators | Get a list of administrators in a chat. On success, returns an Array of ChatMember objects containing information about all chat administrators except other bots. | Read |
telegram_get_chat_history | Get chat history messages via the getUpdates polling method, filtered by chat_id. Returns only updates from the specified chat. | Read |
telegram_get_chat_member | Get a chat member's status/role (including the bot itself) to preflight permissions and troubleshoot 403/empty-history issues. Use before sending messages to verify bot membership and permissions. | Read |
telegram_get_chat_members_count | Get the number of members in a chat. The bot must be an administrator in the chat for this to work. Insufficient admin permissions surface as authorization errors, not as a zero or empty count. | Read |
telegram_get_me | Get basic information about the bot using the Bot API getMe method. Returns fields like id, username, first_name, and capabilities. | Read |
telegram_get_updates | Use this method to receive incoming updates using long polling. An Array of Update objects is returned. IMPORTANT: This method will not work if an outgoing webhook is set up. | Read |
telegram_send_document | Send general files (documents) to a Telegram chat using the Bot API | Write |
telegram_send_location | Send point on the map location to a Telegram chat using the Bot API | Write |
telegram_send_message | Send a text message to a Telegram chat using the Bot API | Write |
telegram_send_photo | Send photos to a Telegram chat using the Bot API | Write |
telegram_send_poll | Send a native poll to a Telegram chat using the Bot API | Write |
telegram_set_my_commands | Use this method to change the list of the bot's commands | Write |