AgentPMT
Telegram Instant Messenger

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 a text message to the budget's bound Telegram chat (shared AgentPMT bot).

textrequiredstring

Message text (max 4096 characters). Required.

parse_modestring

Text formatting mode: HTML, Markdown, or MarkdownV2

Values:
HTMLMarkdownMarkdownV2
reply_markupobject

Inline keyboard markup for interactive buttons.

disable_notificationboolean

Send message silently (users receive without sound). Default: false

protect_contentboolean

Protect content from forwarding and saving. Default: false

message_thread_idinteger

Topic ID for group chats with topics enabled (optional)

send_photo2cr7 params

Send a photo to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.

Send a photo to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.

photostring

Photo as a URL, Telegram file_id, or base64-encoded data.

photo_file_idstring

AgentPMT File Manager file_id to send as photo (alternative to photo).

captionstring

Photo caption (max 1024 characters)

parse_modestring

Caption formatting mode: HTML, Markdown, or MarkdownV2

Values:
HTMLMarkdownMarkdownV2
disable_notificationboolean

Send message silently (users receive without sound). Default: false

protect_contentboolean

Protect content from forwarding and saving. Default: false

message_thread_idinteger

Topic ID for group chats with topics enabled (optional)

send_document2cr8 params

Send a document to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.

Send a document to the budget's bound Telegram chat via URL/file_id/base64 or File Manager file_id.

documentstring

Document as a URL, Telegram file_id, or base64-encoded data.

document_file_idstring

AgentPMT File Manager file_id to send as document (alternative to document).

filenamestring

Document filename. Required when sending base64 document data.

captionstring

Document caption (max 1024 characters)

parse_modestring

Caption formatting mode: HTML, Markdown, or MarkdownV2

Values:
HTMLMarkdownMarkdownV2
disable_notificationboolean

Send message silently (users receive without sound). Default: false

protect_contentboolean

Protect content from forwarding and saving. Default: false

message_thread_idinteger

Topic ID for group chats with topics enabled (optional)

get_updates2cr10 params

Fetch incoming updates with persisted cursor and optional media ingestion into File Manager. Returns deep link binding instructions when budget is not yet connected.

Fetch incoming updates with persisted cursor and optional media ingestion into File Manager. Returns deep link binding instructions when budget is not yet connected.

offsetinteger

Explicit Telegram update_id offset (absolute). Overrides cursor-derived start when provided.

limitinteger

Maximum number of updates to retrieve (1-100). Default: 100

Default: 100
Range: 1 - 100
timeoutinteger

Long polling timeout in seconds (0-60). Default: 30

Default: 30
Range: 0 - 60
allowed_updatesarray

Filter update types to receive, e.g. ['message','callback_query']

Array of: string
unread_onlyboolean

When true, return only updates newer than the stored read cursor.

cursor_offsetinteger

Relative offset from cursor-derived start. Negative values look older; positive values skip newer.

mark_as_readboolean

Persist highest unread update_id as read. Defaults to true when unread_only=true.

ingest_files_to_managerboolean

When true, download Telegram photo/document files from returned updates and upload them into AgentPMT File Manager.

ingest_max_filesinteger

Maximum number of files to ingest from one get_updates response.

Default: 10
Range: 1 - 25
ingest_expiration_daysinteger

File Manager expiration in days for ingested files (1-7).

Default: 7
Range: 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
  1. Open Telegram on your phone or computer and search for @AgentPMT_bot
  2. Tap Start — that's it, you're connected
  3. 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
  1. Send and receive text messages — have real-time two-way conversations with users through Telegram
  2. Share photos and documents — send images, PDFs, spreadsheets, and any file type directly in chat
  3. Track unread messages — a smart cursor keeps track of what's been read so your agent never misses a message
  4. Add interactive buttons — create inline keyboard menus for quick user responses and navigation
  5. Format messages beautifully — use HTML, Markdown, or MarkdownV2 for rich text formatting
  6. Send silently — deliver messages without notification sounds when needed
Perfect For
  1. Quick prototyping of Telegram-based workflows
  2. Customer support and helpdesk automation
  3. Sending alerts, reminders, and notifications to users or teams
  4. Collecting feedback and survey responses through conversational chat
  5. Building interactive AI experiences on Telegram
  6. 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?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

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\"}"
      }
    }
  }
}

How does an external agent use this tool?

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.

Workflows Using This Tool

Workflow
Saves ~25 min
Gmail - All Email Actions
Telegram Instant Messenger
Sweeps your Gmail inbox for emails received in the last 24 hours, looks up each sender's prior Gmail history to classify them as existing customer, new inquiry, marketing, or automated, scores urgency, and sends a single Telegram digest containing only the high and medium urgency emails that actually need your reply. Skips marketing, no-reply notifications, and one-way confirmations.

Looking for help integrating AI into your business? Set up a free consultation.