Wechat Work Node icon

Wechat Work Node

Wechat Work Node

应用群聊 → 创建群聊会话

AI-generated

Summary

Create a new application group chat session in WeChat Work by specifying members and optional details such as group name, owner, and a unique chat ID.

Inputs

  • userlist (required) — List of member UserIDs to include in the group chat. Must include at least 2 and at most 2000 members.
  • name — Optional name of the group chat. Maximum length is 50 UTF-8 characters; longer names will be truncated.
  • owner — Optional UserID to designate as the group chat owner. If not specified, one member from the userlist is randomly assigned as owner.
  • chatid — Optional unique identifier for the group chat, must be a string up to 32 characters containing only digits 0-9 and letters a-zA-Z. If omitted, the system generates a random chat ID.

Output shape

a JSON object representing the created group chat session as returned by the WeChat Work API.

The response includes details of the newly created group chat. Errors are thrown if there are issues during creation, such as invalid parameters or API errors.

Links

Discussion