Features

What the Telegram and MAX CLIs can do: your whole account, groups, a searchable archive, voice to text, every Bot API method, and limits you set for your agent.

Each tool works with one messenger: tg with Telegram, max with MAX. Everything below works in both, unless a row says otherwise. The commands start with tg or max; full syntax is in Telegram commands and MAX commands.

Messages

What you can doCommands
Read chats and message historymessages list, messages show
Send text and files, reply to a messagemessages send
Edit, delete, forward and pin messagesmessages edit, delete, forward, pin
Schedule a message — it goes out even when your computer is offmessages send --at-time
Download photos, documents and other attachmentsmessages download
React to messagesreactions
Create polls, vote, close your ownpolls
Turn voice messages into text on your own computermessages transcribe
Get a link to a messagemessages link
Mark chats as read — only when you askchats mark-read

Guides: Telegram usage · MAX usage

Chats, contacts and account

What you can doCommands
List and search chats, filter by kind (people, groups, channels)chats list
Create, change and delete chat folderschats folders
Contacts: find, add, rename, block, importcontacts
Who someone is, what they wrote, whether the account looks like a botcontacts profile, context, check
Auto-replies by your rules, to test accounts onlyreplies
Update your profile; see every device logged in, end oneaccount
Several accounts, one profile eachtg work …, max work …

Guides: People · Telegram login and profiles · MAX sessions and profiles

Groups and channels

What you can doCommands
Create a group or a channelchats create
Check where an invite link leads without joiningchats inspect
Join and leave; show or reset the invite linkchats join, leave, link
Add and remove members; make admins and set their rightschats members, chats admins
See who joined, left or was removedchats events
Find questions nobody in the group answeredreview --unanswered
Change the title, description and settingschats update
Moderation rules: links, invites, forwards, flooding, blocked peoplechats rules, chats moderate
Forum topics: list, search, create, post into a topic — Telegramtopics
A moderation rule for new accounts — MAXchats rules

Moderation runs when you, your agent or your schedule starts it; nothing watches a group by itself. Guides: Telegram groups · MAX groups

History, search and staying on top

What you can doCommands
Keep a local archive of the chats you choosestore fetch
Search it offline by words, sender, date and chat, with typo-tolerant matchingmessages search
Separate the threads of a busy group by replies and mentionsconversations
Export a chat as Markdown or JSON lines; back up the whole archivestore export, store backup
Unread messages from every chat in one listinbox
Who is waiting for your answer, and what you are waiting forreview
Watch new messages as they arrivewatch
Keep the archive current in the backgroundserver

Guides: Telegram archive · Telegram search · MAX archive · MAX search

Bots

A bot works with its own token, separate from your personal account.

What you can doCommands
Every method of the official Bot API — all 185 for Telegram, all 33 for MAXbot api
Send, edit, delete and pin messages; search the bot's messagesbot messages
Answer button presses; set the bot's command menu; manage webhooksbot callbacks, bot commands, bot webhooks
Manage group admins and membersbot chats admins, bot chats members
Moderate a group by the same rules as your accountbot chats moderate
Give the bot to an agent over MCPbot mcp config
Comments under channel posts — MAXbot comments

Guides: Full Bot API · Telegram bots · MAX bots

Built for agents

  • A skill teaches Claude Code, Codex, Cursor, Gemini CLI and Hermes the commands. Connect your agent
  • An MCP server for Claude Desktop and other clients. It follows the profile’s permissions; choose a read-only profile or ask before writes. MCP
  • Predictable output — every command can return one JSON value, and each kind of failure has its own exit code, so scripts and agents can react to it.
  • Self-description — tg commands --json lists every command and option, so an agent can look up what it needs instead of guessing.

Limits you set

  • Permissions per profile — read-only, ask before a change, or allow.
  • A recipient list — the chats this profile may send to.
  • An hourly limit on sends, 30 by default.
  • A send journal — every send attempt, without the message text.
  • A profile lock that keeps an agent on one account.

What the login allows and how to limit it · Telegram security · MAX security

Not there yet

  • Telegram: several photos in one message, drafts, mute and notification settings, archiving chats, pressing buttons in other bots' messages, secret chats, calls and stories. Roadmap
  • MAX: video notes, drafts, sending your location, setting or removing the cloud password, stories and calls. Roadmap