Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node operation sets the 'Admins Only' information for a specific group in a messaging or collaboration platform. It is useful for administrators who want to restrict certain group functionalities or information visibility to admins only. For example, an admin can use this node to ensure that only group admins can change group info or settings, enhancing group management and security.
Use Case Examples
- Restrict group info editing to admins only in a WhatsApp group.
- Set a group so that only admins can post announcements or change group details.
Properties
| Name | Meaning |
|---|---|
| Session | The session name used to identify the active connection or user session for the operation. |
| Id | The unique identifier of the group where the 'Admins Only' setting will be applied. |
| Admins Only | Boolean flag to enable or disable the 'Admins Only' restriction on the group. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to customize the API request behavior. |
Output
JSON
success- Indicates whether the operation to set 'Admins Only' was successful.groupId- The ID of the group for which the setting was applied.adminsOnly- The final state of the 'Admins Only' setting after the operation.
Dependencies
- Requires an active session credential to authenticate the request to the messaging platform API.
Troubleshooting
- Ensure the session name is valid and active; otherwise, the request will fail authentication.
- Verify the group ID is correct and the user has admin privileges to modify group settings.
- If the request times out, consider increasing the timeout value in Request Options.
- If SSL certificate validation fails, enabling 'Ignore SSL Issues' may help but use with caution due to security risks.