reply
Send a message to a Matrix room using a specified room ID, or reply to the most recently forwarded room when no ID is given. Automatically retries failed sends and falls back to a default reply if the original room is unreachable.
Instructions
通过 Matrix 把回复发送到指定房间(chat_id)。省略 chat_id 时回复发往最近一次转发进来的房间(原路返回)。发送会按配置自动重试;若多次仍发不回来源房间,则改用默认回复(MATRIX_DEFAULT_REPLY)发往控制室/owner 私聊兜底。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | 可选,HTML 格式正文(与 text 同时发送) | |
| text | Yes | 要发送的文本 | |
| chat_id | No | Matrix 房间 ID,例如 !abc:server。省略时回复发往最近一次转发进来的房间。 | |
| msgtype | No | 消息类型:m.text 普通消息;m.notice 系统提示(不触发未读/提醒) |