T
TARS
January 28, 2026
What is OpenClaw?
OpenClaw (prev. Clawdbot) is an open-source AI Agent gateway that bridges popular messaging platforms with AI models. It allows you to chat with AI assistants directly from your favorite messaging apps.Multi-Platform Support
WhatsApp, Telegram, Discord, iMessage, and more via plugins
AI Agent Bridge
Connect to coding agents like Pi with RPC mode and tool streaming
Multi-Agent Routing
Route different accounts to isolated agents with separate workspaces
MiniMax Integration
Native support for MiniMax M2.1 as a model provider
Quick Start
This guide will walk you through setting up OpenClaw with Telegram and MiniMax M2.1.Prerequisites
- A Telegram account (phone number required)
- A MiniMax Coding Plan subscription or Pay-as-you-go API Key
- A computer with terminal access (macOS, Linux, or Windows with WSL)
Part 1: Create a Telegram Bot
Find BotFather
Search and select @BotFather in Telegram. This is the official bot for creating and managing Telegram bots.

Create Your Bot
Send 
/newbot to BotFather, then:- Choose your bot’s display name
- Choose your bot’s username (must be unique and end with “bot”)
- Save the bot token - you’ll need it later!

Part 2: Install and Configure openclaw
Enter API Key
Enter your MiniMax Coding Plan API Key. You can get it from Coding Plan Dashboard.

Part 3: Connect to Your Bot
Approve Pairing
In your terminal, run the following command (replace
<code> with the pairing code from the message):Start Chatting!
Congratulations! Your AI assistant is now ready. You can start chatting with MiniMax M2.1 directly in Telegram.Your openclaw-powered assistant can help you with:
- Answering questions and providing information
- Writing and editing text
- Coding assistance and debugging
- Creative tasks and brainstorming
- And much more!
Summary
In this tutorial, you learned how to:- Create a Telegram Bot using BotFather
- Install and configure openclaw with MiniMax M2.1 as the AI provider
- Connect your bot to enable AI-powered conversations


















