wx groups
Find groups and manage their names, settings and members
| Argument or flag | Takes | What it does |
|---|---|---|
--cursor | takes <CURSOR> | Continue from the next-page cursor of the previous result |
--search | takes <SEARCH> | Only list groups whose name or ID contains this text |
wx groups clear-announcement
Clear a group’s announcement when permitted
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups 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 groups create
Create a group with two to forty initial members
| Argument or flag | Takes | What it does |
|---|---|---|
<MEMBERS> | position 1, required, repeatable | Contact IDs of the initial members, from wx contacts list; two to forty |
--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 |
--name | takes <NAME> | Shared name for the new group |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |
wx groups find
Find saved entries matching a name or ID
| Argument or flag | Takes | What it does |
|---|---|---|
<QUERY> | position 1, required | Name or ID text to search for |
wx groups get
Show a saved entry by ID
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | ID of the contact or group, from the matching list command |
wx groups leave
Leave a group while retaining local history
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups 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 groups list
List saved entries with optional pagination
| Argument or flag | Takes | What it does |
|---|---|---|
--cursor | takes <CURSOR> | Continue from the next-page cursor of the previous result |
--limit | takes <LIMIT> | Return at most this many items |
wx groups lookup
Fetch the member roster for a known group ID live from WeChat without saving it
| Argument or flag | Takes | What it does |
|---|---|---|
<ROOM> | position 1, required | Group ID, ending in @chatroom, to fetch the member roster for |
--version | takes <VERSION>, default 0 | Roster version to request from WeChat; the reply shows the current version |
wx groups members
List, inspect or update a group’s members
wx groups members add
Add one or more contacts to a group
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups list |
<MEMBERS> | position 2, required, repeatable | Contact IDs to add; give one or more |
--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 groups members get
Show one saved group member
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups list |
<USERNAME> | position 2, required | Member’s contact ID, from wx groups members list |
wx groups members list
List saved members of a group
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups list |
--cursor | takes <CURSOR> | Continue from the next-page cursor of the previous result |
--limit | takes <LIMIT> | Return at most this many items |
--search | takes <SEARCH> | Only list members whose ID, WeChat ID, nickname, remark or name in this group contains this text; repeat it with —cursor |
wx groups members refresh
Refresh a group’s member list from WeChat
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups list |
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |
wx groups members remove
Remove one or more members from a group
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups list |
<MEMBERS> | position 2, required, repeatable | Member IDs to remove; give one or more |
--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 groups my-name
Change your display name in a group
| Argument or flag | Takes | What it does |
|---|---|---|
<DISPLAY_NAME> | position 2, required | Your new display name in this group |
<ID> | position 1, required | Group ID from wx groups 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 groups refresh
Refresh one entry from WeChat
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | ID of the contact or group, from the matching list command |
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |
wx groups rename
Change a group’s shared name
| Argument or flag | Takes | What it does |
|---|---|---|
<ID> | position 1, required | Group ID from wx groups list |
<NAME> | position 2, required | New shared name for the group |
--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 groups sync
Refresh the catalog from WeChat
| Argument or flag | Takes | What it does |
|---|---|---|
--detach | switch | Return as soon as the work is queued instead of waiting for it |
--wait | takes <WAIT>, default 30 | Seconds to wait for completion; the work keeps running after the wait ends |