建立 Bot
- 開啟 Telegram,搜尋
@BotFather - 傳送
/newbot指令 - 輸入 Bot 名稱(例如:
My OpenClaw Bot) - 輸入 Bot username(必須以
bot結尾,例如:my_openclaw_bot)
取得 API Token
建立成功後,BotFather 會回傳 Token,請妥善保存。
預期訊息範例:
Done! Congratulations on your new bot.
Use this token to access the HTTP API:
123456789:ABCDefGhIjKlMnOpQrStUvWxYz
Keep your token secure and store it safely.
安全提醒:不要將 Token 上傳至 GitHub 或分享給他人。