ClawLink
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.

ToolWhat it doesKind
telegram_answer_callback_queryUse 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_linkGenerate a new primary invite link for a chat; any previously generated primary link is revoked.Write
telegram_edit_messageEdit 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_messageForward messages of any kind. Service messages can't be forwarded.Write
telegram_get_chatGet 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_administratorsGet 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_historyGet chat history messages via the getUpdates polling method, filtered by chat_id. Returns only updates from the specified chat.Read
telegram_get_chat_memberGet 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_countGet 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_meGet basic information about the bot using the Bot API getMe method. Returns fields like id, username, first_name, and capabilities.Read
telegram_get_updatesUse 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_documentSend general files (documents) to a Telegram chat using the Bot APIWrite
telegram_send_locationSend point on the map location to a Telegram chat using the Bot APIWrite
telegram_send_messageSend a text message to a Telegram chat using the Bot APIWrite
telegram_send_photoSend photos to a Telegram chat using the Bot APIWrite
telegram_send_pollSend a native poll to a Telegram chat using the Bot APIWrite
telegram_set_my_commandsUse this method to change the list of the bot's commandsWrite