Skip to content

wx groups

Find groups and manage their names, settings and members

Argument or flagTakesWhat it does
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--searchtakes <SEARCH>Only list groups whose name or ID contains this text

wx groups clear-announcement

Clear a group’s announcement when permitted

Argument or flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
--detachswitchReturn as soon as the work is queued instead of waiting for it
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--waittakes <WAIT>, default 30Seconds 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 flagTakesWhat it does
<MEMBERS>position 1, required, repeatableContact IDs of the initial members, from wx contacts list; two to forty
--detachswitchReturn as soon as the work is queued instead of waiting for it
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--nametakes <NAME>Shared name for the new group
--waittakes <WAIT>, default 30Seconds 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 flagTakesWhat it does
<QUERY>position 1, requiredName or ID text to search for

wx groups get

Show a saved entry by ID

Argument or flagTakesWhat it does
<ID>position 1, requiredID of the contact or group, from the matching list command

wx groups leave

Leave a group while retaining local history

Argument or flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
--detachswitchReturn as soon as the work is queued instead of waiting for it
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

wx groups list

List saved entries with optional pagination

Argument or flagTakesWhat it does
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <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 flagTakesWhat it does
<ROOM>position 1, requiredGroup ID, ending in @chatroom, to fetch the member roster for
--versiontakes <VERSION>, default 0Roster 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 flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
<MEMBERS>position 2, required, repeatableContact IDs to add; give one or more
--detachswitchReturn as soon as the work is queued instead of waiting for it
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

wx groups members get

Show one saved group member

Argument or flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
<USERNAME>position 2, requiredMember’s contact ID, from wx groups members list

wx groups members list

List saved members of a group

Argument or flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <LIMIT>Return at most this many items
--searchtakes <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 flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
--detachswitchReturn as soon as the work is queued instead of waiting for it
--waittakes <WAIT>, default 30Seconds 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 flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
<MEMBERS>position 2, required, repeatableMember IDs to remove; give one or more
--detachswitchReturn as soon as the work is queued instead of waiting for it
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--waittakes <WAIT>, default 30Seconds 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 flagTakesWhat it does
<DISPLAY_NAME>position 2, requiredYour new display name in this group
<ID>position 1, requiredGroup ID from wx groups list
--detachswitchReturn as soon as the work is queued instead of waiting for it
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

wx groups refresh

Refresh one entry from WeChat

Argument or flagTakesWhat it does
<ID>position 1, requiredID of the contact or group, from the matching list command
--detachswitchReturn as soon as the work is queued instead of waiting for it
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

wx groups rename

Change a group’s shared name

Argument or flagTakesWhat it does
<ID>position 1, requiredGroup ID from wx groups list
<NAME>position 2, requiredNew shared name for the group
--detachswitchReturn as soon as the work is queued instead of waiting for it
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

wx groups sync

Refresh the catalog from WeChat

Argument or flagTakesWhat it does
--detachswitchReturn as soon as the work is queued instead of waiting for it
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends