跳转到内容

wx contacts

此内容尚不支持你的语言。

Find contacts and refresh their saved information

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

wx contacts avatar

Retrieve a saved avatar or request an avatar refresh

Argument or flagTakesWhat it does
<ID>position 1, requiredID of the contact whose avatar to retrieve
--detachswitchReturn as soon as the work is queued instead of waiting for it
--outputtakes <OUTPUT>Save the avatar to this new file (required unless —refresh)
--refreshswitchAsk WeChat for a fresh avatar instead of reading the saved one
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

wx contacts 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 contacts 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 contacts list

List saved contacts with optional pagination

Argument or flagTakesWhat it does
--allswitchInclude all cached people, even non-contacts and unknown relationships
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <LIMIT>Return at most this many items

wx contacts lookup

Look up one or two known contact IDs live on WeChat without saving the result

Argument or flagTakesWhat it does
<IDS>position 1, required, repeatableOne or two distinct contact IDs to look up live on WeChat

wx contacts 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 contacts remove

Remove this account’s contact relationship while preserving chat history

Argument or flagTakesWhat it does
<ID>position 1, requiredExact existing ordinary contact ID
--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 contacts requests

Inspect, send, accept or locally delete friend-request conversations

wx contacts requests accept

Accept the exact inspected version of an incoming request. When any privacy flag is supplied, omitted privacy flags default to false

Argument or flagTakesWhat it does
<ID>position 1, requiredRequest ID from list/get
--chats-onlytakes <CHATS_ONLY>, values true|falseWhether to restrict this relationship to chats (true or false)
--detachswitchReturn as soon as the work is queued instead of waiting for it
--expected-versionrequired, takes <EXPECTED_VERSION>Current version returned by list/get
--hide-my-poststakes <HIDE_MY_POSTS>, values true|falseWhether to hide your posts from this contact (true or false)
--hide-their-poststakes <HIDE_THEIR_POSTS>, values true|falseWhether to hide this contact’s posts (true or false)
--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 contacts requests delete

Delete local request conversation/history. Does not reject or cancel on WeChat

Argument or flagTakesWhat it does
<ID>position 1, requiredRequest ID from list/get
--detachswitchReturn as soon as the work is queued instead of waiting for it
--expected-versionrequired, takes <EXPECTED_VERSION>Current version returned by list/get
--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 contacts requests get

Inspect one request, its verification history and current version

Argument or flagTakesWhat it does
<ID>position 1, requiredExact request ID from list

wx contacts requests list

List saved request conversations in both directions; history is not server pending proof

Argument or flagTakesWhat it does
--actionableswitchShow only current incoming acceptance candidates
--cursortakes <CURSOR>Exact nextCursor from the same query
--directiontakes <DIRECTION>, values incoming|outgoingFilter by incoming or outgoing direction
--limittakes <LIMIT>Maximum number of rows on this page, from 1 to 200
--searchtakes <SEARCH>Match saved names, peer identities and verification text

wx contacts requests send

Send one friend request using an opaque result from contacts search. When any privacy flag is supplied, omitted privacy flags default to false

Argument or flagTakesWhat it does
<RECIPIENT_REF>position 1, requiredExact recipientRef from discovery on this account
--chats-onlytakes <CHATS_ONLY>, values true|falseWhether to restrict this relationship to chats (true or false)
--detachswitchReturn as soon as the work is queued instead of waiting for it
--hide-my-poststakes <HIDE_MY_POSTS>, values true|falseWhether to hide your posts from this contact (true or false)
--hide-their-poststakes <HIDE_THEIR_POSTS>, values true|falseWhether to hide this contact’s posts (true or false)
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--messagerequired, takes <MESSAGE>Owner-supplied verification greeting
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

Discover a person on WeChat by WeChat ID. Phone lookup is unverified

Argument or flagTakesWhat it does
<QUERY>position 1, requiredDiscovery query, distinct from local contacts find

wx contacts set

Change a contact’s privacy settings or remark; keep omitted settings

Argument or flagTakesWhat it does
<ID>position 1, requiredExact existing contact ID
--chats-onlytakes <CHATS_ONLY>, values true|falseWhether to restrict this relationship to chats (true or false)
--clear-remarkswitchClear your private name for this contact
--detachswitchReturn as soon as the work is queued instead of waiting for it
--hide-my-poststakes <HIDE_MY_POSTS>, values true|falseWhether to hide your posts from this contact (true or false)
--hide-their-poststakes <HIDE_THEIR_POSTS>, values true|falseWhether to hide this contact’s posts (true or false)
--idempotency-keytakes <IDEMPOTENCY_KEY>Reuse this key when retrying so the daemon applies the request only once
--remarktakes <REMARK>Set your private name for this contact; outer spaces are removed. Change privacy in a separate command
--waittakes <WAIT>, default 30Seconds to wait for completion; the work keeps running after the wait ends

wx contacts 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