WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation sets the 'info admin only' setting for a specific group in a messaging platform. It allows users to specify whether only admins can change the group's info, enhancing group management and control. This is useful for administrators who want to restrict group info changes to admins only, preventing regular members from modifying group details.

Use Case Examples

  1. Restrict group info editing to admins in a large community group.
  2. Enable admin-only info changes for a project team chat to maintain consistent group details.

Properties

Name Meaning
Session The session name used to identify the messaging session.
Id The unique identifier of the group whose info admin only setting is to be changed.
Admins Only Boolean flag to set whether only admins can change the group info.
Request Options Additional options for the request such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • success - Indicates if the operation to set info admin only was successful.
  • groupId - The ID of the group for which the setting was applied.

Dependencies

  • Requires an active session with the messaging platform, typically authenticated via a session name.

Troubleshooting

  • Ensure the session name is valid and active; otherwise, the request will fail.
  • Verify the group ID is correct and the bot or user has admin privileges in the group.
  • If setting 'Admins Only' fails, check if the messaging platform supports this feature for the group type.
  • Network issues or proxy misconfiguration can cause request failures; verify proxy and timeout settings.
  • SSL certificate issues can be bypassed with the 'Ignore SSL Issues' option, but use with caution.

Discussion