Telegram Instant Messenger
Connector
Available ActionsEach successful request consumes credits as outlined below.
send_message2crsend_photo2crsend_document2crget_updates2cr
Details
Two-way Telegram messaging through the shared @AgentPMT_bot with budget-scoped chat binding. If not connected, the tool returns `status: connection_required` with `chat_url`, `otp_code`, and `start_command` (for example `/start 123456`). Open `chat_url`, send `start_command` exactly, then send any follow-up message to bind. After binding, send/receive text, photos, and documents with unread cursor controls and File Manager ingestion.
Use Cases
Instant two-way Telegram chat with zero setup, Send alerts and notifications to users or teams, Customer support and helpdesk automation, Collect feedback and survey responses via chat, Share reports and documents through Telegram, Build conversational AI workflows on Telegram, Send photos and media to users, Prototype Telegram automations quickly
Actions(4)
send_message2cr6 params(1 required)Send a text message to the budget's bound Telegram chat (shared AgentPMT bot).
send_message2cr6 params(1 required)Send a text message to the budget's bound Telegram chat (shared AgentPMT bot).
textrequiredstringMessage text (max 4096 characters). Required.
parse_modestringText formatting mode: HTML, Markdown, or MarkdownV2
Values:
HTMLMarkdownMarkdownV2
reply_markupobjectInline keyboard markup for interactive buttons.
disable_notificationbooleanSend message silently (users receive without sound). Default: false
protect_contentbooleanProtect content from forwarding and saving. Default: false
message_thread_idintegerTopic ID for group chats with topics enabled (optional)
send_photo2cr7 paramsSend a photo to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.
send_photo2cr7 paramsSend a photo to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.
photostringPhoto as a URL, Telegram file_id, or base64-encoded data.
photo_file_idstringAgentPMT File Manager file_id to send as photo (alternative to photo).
captionstringPhoto caption (max 1024 characters)
parse_modestringCaption formatting mode: HTML, Markdown, or MarkdownV2
Values:
HTMLMarkdownMarkdownV2
disable_notificationbooleanSend message silently (users receive without sound). Default: false
protect_contentbooleanProtect content from forwarding and saving. Default: false
message_thread_idintegerTopic ID for group chats with topics enabled (optional)
send_document2cr8 paramsSend a document to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.
send_document2cr8 paramsSend a document to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.
documentstringDocument as a URL, Telegram file_id, or base64-encoded data.
document_file_idstringAgentPMT File Manager file_id to send as document (alternative to document).
filenamestringDocument filename. Required when sending base64 document data.
captionstringDocument caption (max 1024 characters)
parse_modestringCaption formatting mode: HTML, Markdown, or MarkdownV2
Values:
HTMLMarkdownMarkdownV2
disable_notificationbooleanSend message silently (users receive without sound). Default: false
protect_contentbooleanProtect content from forwarding and saving. Default: false
message_thread_idintegerTopic ID for group chats with topics enabled (optional)
get_updates2cr10 paramsFetch incoming updates with persisted cursor and optional media ingestion into File Manager. Returns deep link binding instructions when budget is not yet connected.
get_updates2cr10 paramsFetch incoming updates with persisted cursor and optional media ingestion into File Manager. Returns deep link binding instructions when budget is not yet connected.
offsetintegerExplicit Telegram update_id offset (absolute). Overrides cursor-derived start when provided.
limitintegerMaximum number of updates to retrieve (1-100). Default: 100
Default:
100Range: 1 - 100
timeoutintegerLong polling timeout in seconds (0-60). Default: 30
Default:
30Range: 0 - 60
allowed_updatesarrayFilter update types to receive, e.g. ['message','callback_query']
Array of: string
unread_onlybooleanWhen true, return only updates newer than the stored read cursor.
cursor_offsetintegerRelative offset from cursor-derived start. Negative values look older; positive values skip newer.
mark_as_readbooleanPersist highest unread update_id as read. Defaults to true when unread_only=true.
ingest_files_to_managerbooleanWhen true, download Telegram photo/document files from returned updates and upload them into AgentPMT File Manager.
ingest_max_filesintegerMaximum number of files to ingest from one get_updates response.
Default:
10Range: 1 - 25
ingest_expiration_daysintegerFile Manager expiration in days for ingested files (1-7).
Default:
7Range: 1 - 7
About this Product
Start Chatting on Telegram in Seconds
Telegram Instant Messenger gives you a ready-to-use two-way communication channel between your AI agent and anyone on Telegram — no bot creation, no API keys, and no technical setup required.
How It Works
- Open Telegram on your phone or computer and search for @AgentPMT_bot
- Tap Start — that's it, you're connected
- Send a message and your agent can read and respond instantly
Share the bot link with anyone you want to communicate with. As soon as they tap Start and send a message, your agent has their chat ID and can reply.
What You Can Do
- Send and receive text messages — have real-time two-way conversations with users through Telegram
- Share photos and documents — send images, PDFs, spreadsheets, and any file type directly in chat
- Track unread messages — a smart cursor keeps track of what's been read so your agent never misses a message
- Add interactive buttons — create inline keyboard menus for quick user responses and navigation
- Format messages beautifully — use HTML, Markdown, or MarkdownV2 for rich text formatting
- Send silently — deliver messages without notification sounds when needed
Perfect For
- Quick prototyping of Telegram-based workflows
- Customer support and helpdesk automation
- Sending alerts, reminders, and notifications to users or teams
- Collecting feedback and survey responses through conversational chat
- Building interactive AI experiences on Telegram
- Sharing reports, receipts, and documents with customers
No Setup, No Hassle
Unlike custom bots that require creating a bot with BotFather and managing tokens, Telegram Instant Messenger uses a shared pre-configured bot that's ready from the moment you activate the tool. If you need your own branded bot with a custom name and profile picture, check out Custom Telegram Bot instead.
Frequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 697c1191a08dcbe06d11b98c ("Telegram Instant Messenger"). Then call the same tool with action 'call_tool', tool_id 697c1191a08dcbe06d11b98c, and the parameters needed for my request.
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.






