接收消息
向 BotMux 发送消息:发送消息
当机器人发送回复时,BotMux 会通过 HTTP POST 将消息转发到配置的 Callback URL。设置
- 选择机器人 → Bridges → Add Bridge
- 将 Protocol 设置为
webhook - 设置用于发送消息的 Callback URL
- 启用并保存
- 使用桥接 ID 构建接收 URL:
/bridge/{id}/incoming
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
适用于任何协议的通用 HTTP webhook 桥接
POST /bridge/{id}/incoming
Content-Type: application/json
{
"chat_id": "external-channel-id",
"user_id": "external-user-id",
"username": "John Doe",
"text": "Hello from external system",
"message_id": "msg-123"
}
webhook/bridge/{id}/incoming此页面对您有帮助吗?