TNEENWH icon

TNEENWH

Use TNEENWH API operations

Group Set Add Members Admins Only

AI-generated

Summary

Set the policy for a group chat to restrict adding new members to admins only or allow all members to add new participants.

Inputs

  • Group JID (required) — The unique identifier of the group chat to modify.
  • Enabled (required) — Boolean to enable (true) or disable (false) the admins-only restriction for adding new members.
  • Session ID Override — Optional session ID to override the default credentials session.
  • Channel Secret Override — Optional channel secret to override the default credentials secret.

Output shape

a single record containing API response data about the policy update

No pagination. The output JSON reflects the remote API's confirmation or details of the policy change. Errors are raised or optionally returned in the output JSON if operation fails.

Examples

Example 1: Set the group to allow only admins to add members

Provide the groupJid for the target group and set Enabled to true to enforce the restriction.

Links

Discussion