Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
When
channels.matrix.streaming"quiet"If you only want stock Matrix notification behavior, use
streaming: "partial"sendertext```bash} curl -sS -X POST \ "https://matrix.example.org/_matrix/client/v3/login" \ -H "Content-Type: application/json" \ --data '{ "type": "m.login.password", "identifier": { "type": "m.id.user", "user": "@alice:example.org" }, "password": "REDACTED" }' ```
textIf no pushers come back, fix normal Matrix push delivery for this account before continuing.
text```bash} curl -sS -X PUT \ "https://matrix.example.org/_matrix/client/v3/pushrules/global/override/openclaw-finalized-preview-botname" \ -H "Authorization: Bearer $USER_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ --data '{ "conditions": [ { "kind": "event_match", "key": "type", "pattern": "m.room.message" }, { "kind": "event_property_is", "key": "content.m\\.relates_to.rel_type", "value": "m.replace" }, { "kind": "event_property_is", "key": "content.com\\.openclaw\\.finalized_preview", "value": true }, { "kind": "event_match", "key": "sender", "pattern": "@bot:example.org" } ], "actions": [ "notify", { "set_tweak": "sound", "value": "default" }, { "set_tweak": "highlight", "value": false } ] }' ``` Replace before running: * `https://matrix.example.org`: your homeserver base URL * `$USER_ACCESS_TOKEN`: the recipient user's access token * `openclaw-finalized-preview-botname`: a rule ID unique per bot per recipient (pattern: `openclaw-finalized-preview-<botname>`) * `@bot:example.org`: your OpenClaw bot MXID, not the recipient's
textThen test a streamed reply. In quiet mode the room shows a quiet draft preview and notifies once the block or turn finishes.
To remove the rule later,
DELETEPush rules are keyed by
ruleIdPUTNew user-defined
override© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine