Telegram Integration
Create a Telegram Bot.
Open Telegram and search for the official BotFather account (look for the blue verified checkmark).
Start a chat and use the command
/newbot.Follow the prompts to provide a display name and a unique username (which must end in "bot").
BotFather will provide you with an API Token; copy this token.
Add the Token to OpenClaw.
Log in to your OpenClaw web interface or access its terminal on your VPS.
Navigate to the channels configuration section for Telegram and paste the copied token. You might also be able to type a message to OpenClaw such as "here's the token for my new bot" in its chat interface if you have web UI access.
Pair the Bot and Approve Pairing.
In Telegram, search for your new bot by its username and click Start or send it any message (e.g., "hello").
OpenClaw will send a message back containing your Telegram user ID and a pairing code.
In your VPS terminal, execute a command to approve the pairing (replace
<CODE>with your actual code):openclaw pairing approve telegram <CODE>
Verify Connection.
Send a test message to your bot in Telegram (e.g., "hey are you online"). OpenClaw should respond, confirming the integration.