search_messages
Search messages in a specific chat
How to use it
Project documentation lists search_messages for the Telegram MCP Tdlib MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Telegram MCP Tdlib
telegram-mcp serve --transport stdioOther tools in Telegram MCP Tdlib (39)
The full inventory (opt in deliberately)
Cancel a queued message (destructive, requires confirmation)
Permanently close a poll (destructive, requires confirmation)
Moderation, group/channel, permissions, bot commands
Create a new basic group
Send a poll (anonymous or public, single or multi-answer)
Create a private supergroup, optionally forum-enabled
Delete messages (destructive, requires confirmation)
Edit an existing message
Forward messages between chats
Get detailed chat info (members, description)
Retrieve chat history (recent messages)
Get N messages surrounding a target message
Create a shareable t.me link for a message or media album
List all reactions on a message with senders
List read receipts for an outgoing message in small groups
Get specific messages by ID
Get members of a group/channel
Get all pinned messages in a chat
Personal messages, drafts, media, contacts, privacy
Invite users to a group
List all chats with optional type/unread filters
Inspect inline keyboard buttons on a message
List queued messages for a chat
Mark messages as read
Resolve a t.me message link to the actual message
Pin a message in a chat
Click an inline button by index or label (requires confirmation)
Always non-mutating — safe for a first look
Remove an emoji reaction from a message (requires confirmation)
Reply to a specific message
Change a queued message's send time
Bounded account/public discovery and reading
Queue a text message for a future ISO time or Unix timestamp
Search messages across all chats
Send a text message with optional HTML/Markdown
Add an emoji reaction to a message (requires confirmation)
Unpin a message
Vote in a poll by 0-based option indexes