Skip to content

Messaging

AI agents that use Telegram Bot

UtilitySpaces gives an AI agent scoped access to Telegram Bot through its own encrypted connection, not your password. The agent can call 5 named Telegram Bot tools, and the 2 that write wait for a person's approval unless an admin has set the connection to run without asking. Every call is written to a hash-chained audit log with its arguments and its result.

What an agent can do in Telegram Bot

Read updates and chat details for a Telegram bot and send messages or photos to chats. An agent calls these by name, and matching is exact.

Every tool a Telegram Bot connection exposes, and whether it writes, which waits for approval by default
ToolWhat it doesWaits for approval by default
Get bot infoCheck the token and get the bot's identity.No — read only
Get updatesPoll incoming messages and events (long-poll queue; unusable while a webhook is set).No — read only
Get chatGet details about a chat, group, or channel.No — read only
Send messageSend a text message to a chat.Yes — it writes
Send photoSend a photo (by URL or file id) to a chat.Yes — it writes

3 read tools, 2 write tools. Generated from the connector catalogue the product runs on, so it cannot list a tool that does not exist.

What teams hand an agent in Telegram Bot

Teams running a Telegram bot hand an agent the incoming queue: polling Get updates for new messages, reading chat details, and turning questions into inbox items. Two writes, Send message and Send photo, are how the bot answers, and both wait for a person to approve them unless an admin has set this connection to run writes without asking.

  • Collect new bot messages on a schedule by polling updates and filing each question as a task in the team inbox.
  • Send a reminder or confirmation text to a chat when a booking, delivery, or deadline changes (after a person approves it)
  • Send a photo such as a receipt or chart image to a group when a flow produces one (after a person approves it)
Before you let it write, or keep out: Get updates is a long-poll queue and stops working while a webhook is set on the bot, so do not hand this agent a bot another system already receives from; pick one consumer per token.

What waits for a person

Reads run on their own. These do not — each one waits in Approvals for an owner or admin unless an admin has set this connection to run writes without asking, and every call toTelegram Bot, approved, rejected or unattended, is logged.

  • Send message POST
  • Send photo POST

What connecting Telegram Bot takes

Telegram Bot uses an API key you create in Telegram Bot and paste in once. A workspace admin sets the connection up; the fields are:

  • Bot Token

Credentials are encrypted and bound to your workspace, never read back, and every outbound call passes one guarded fetch — the connector security posture sets out exactly how, and the security page covers the platform around it.

Where Telegram Bot fits

Give an agent Telegram Bot work by writing a message in the inbox, or put its tools in a scheduled flow. What the run cost is on the cost breakdown.

Other messaging integrations: Chatwoot, Discord, Gmail. Or see every application agents can connect to.

See it doing your actual work

Open a demo workspace, connect one app, and give an agent a real job. No card, no sales call.

We reply to every message within one business day.

Try the demo