AgentPMT
Custom Telegram Bot

Custom Telegram Bot

Function

Available ActionsEach successful request consumes credits as outlined below.

send_message2crsend_photo2crsend_document2crget_updates2crlist_known_chat_ids

Details

Build your own branded Telegram bot and connect it to your AI agent for fully customizable two-way communication. Create a bot through Telegram's BotFather, choose your own name and profile picture, define custom commands, then connect it here. Send and receive text messages, share photos and documents, track unread conversations with smart cursors, and create interactive button menus — all under your own brand identity.

Use Cases

Build a branded customer support bot on Telegram, Send business notifications under your own bot identity, Receive and respond to inbound customer messages, Share photos and documents from your branded bot, Create interactive menus with inline keyboard buttons, Run automated conversational workflows, Collect leads and feedback through your own Telegram bot, Internal team communication with a custom bot

Dynamic MCP Setup

Connect once through AgentPMT Dynamic MCP, then use approved tools from the same agent connection.

30 Second Setup

STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections.

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

Hosted Streamable HTTPS

MCP endpoint for browser-based apps like ChatGPT, Claude, Grok, or any time you want a streamable connection with no local install.

https://api.agentpmt.com/mcp

Config Example

Use the hosted endpoint directly in clients that support remote MCP. Store your Bearer token in the client config or secret field.

Full connection guide
{
  "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\"}"
      }
    }
  }
}

Need client videos, organization controls, audit details, and the full feature overview?

More About Dynamic MCP

About this Product

Your Bot, Your Brand, Your Rules

Custom Telegram Bot lets you create your own branded Telegram bot and connect it to your AI agent for fully customizable two-way communication. Everything runs under your own bot identity — your name, your profile picture, your commands.

Getting Started
Step 1: Create Your Bot
  1. Open Telegram and message @BotFather
  2. Send /newbot and follow the prompts
  3. Choose a display name (e.g. "Acme Support Bot")
  4. Choose a username ending in bot (e.g. acme_support_bot)
  5. Copy the bot token that BotFather gives you
Step 2: Customize Your Bot (Optional)

Message @BotFather with these commands to brand your bot:

  1. /setdescription — what users see before starting the bot
  2. /setabouttext — the bot's About section
  3. /setuserpic — upload your bot's profile photo
  4. /setcommands — define slash commands your users can use
Step 3: Connect Your Token

In AgentPMT, add the bot token as a Telegram Bot Token connection. The platform securely stores your token and injects it automatically at runtime — you never need to paste it into messages or share it.

Step 4: Activate Your Bot
  1. Search for your bot's username in Telegram
  2. Tap Start
  3. Send a test message to make sure everything is working
What You Can Do
  1. Full branding control — your own bot name, profile photo, description, and custom commands
  2. Send and receive text messages — real-time two-way conversations under your brand
  3. Share photos and documents — send images, PDFs, and any file type directly in chat
  4. Track unread messages — a smart cursor keeps track of what's been read so you never miss a message
  5. Interactive buttons — inline keyboard menus for quick user responses and navigation
  6. Rich formatting — HTML, Markdown, or MarkdownV2 support for beautiful messages
  7. Silent delivery — send messages without notification sounds when appropriate
Perfect For
  1. Branded customer support and helpdesk bots
  2. Business notification and alert systems
  3. Internal team communication channels
  4. Lead capture and sales outreach bots
  5. Custom conversational AI experiences
  6. Feedback collection and survey bots
Custom Bot vs. Instant Messenger

If you don't need your own branded bot and just want to start chatting right away, check out Telegram Instant Messenger — it uses a shared pre-configured bot with zero setup. Choose Custom Telegram Bot when you want full control over your bot's identity and branding.

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

Use the AgentPMT-Tool-Search-and-Execution tool. First call action 'get_instructions' so you know how to use the tool search interface. Then call action 'get_schema' with tool_id 69dabe30448c9686fae464e3 ("Custom Telegram Bot"). After reading the schema and any returned instructions, tell me what this tool can do, we are going to be using it

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