wx chats
此内容尚不支持你的语言。
Find chats and change their read state and settings
wx chats find
Find chats matching a name or ID
| Argument or flag | Takes | What it does |
|---|---|---|
<QUERY> | position 1, required | Name or ID text to search for |
--kind | takes <KIND> | Only find chats of this kind: direct, group or system |
wx chats get
Show one chat and its current read-state version
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Chat ID from wx chats list |
wx chats list
List chats with optional pagination and kind filtering
| Argument or flag | Takes | What it does |
|---|---|---|
--cursor | takes <CURSOR> | Continue from the next-page cursor of the previous result |
--kind | takes <KIND> | Only list chats of this kind: direct, group or system |
--limit | takes <LIMIT> | Return at most this many items |
wx chats mute
Mute a direct chat or group
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Chat ID from wx chats list |
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--idempotency-key | takes <IDEMPOTENCY_KEY> | Reuse this key when retrying so the daemon applies the request only once |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |
wx chats pin
Pin an ordinary direct chat or group to the top of the thread list
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Chat ID from wx chats list |
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--idempotency-key | takes <IDEMPOTENCY_KEY> | Reuse this key when retrying so the daemon applies the request only once |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |
wx chats read
Mark the whole chat read using its current read-state version
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Chat ID from wx chats list |
--expected-version | required, takes <EXPECTED_VERSION> | Read-state version from wx chats get; refused if the chat changed since |
wx chats unmute
Unmute a direct chat or group
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Chat ID from wx chats list |
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--idempotency-key | takes <IDEMPOTENCY_KEY> | Reuse this key when retrying so the daemon applies the request only once |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |
wx chats unpin
Unpin an ordinary direct chat or group
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Chat ID from wx chats list |
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--idempotency-key | takes <IDEMPOTENCY_KEY> | Reuse this key when retrying so the daemon applies the request only once |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |