Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Grupos WhatsApp → Config. Restrição

AI-generated

Overview

This node operation allows configuring the restriction settings of a WhatsApp group via the Press Ticket API. It enables users to set whether only admins can edit group information, providing control over group management permissions. This is useful for administrators who want to restrict group modifications to authorized members only.

Use Case Examples

  1. Restrict group info editing to admins only in a WhatsApp group to prevent unauthorized changes.
  2. Enable or disable the restriction setting for a WhatsApp group to control who can edit group details.

Properties

Name Meaning
ID do Grupo The unique identifier of the WhatsApp group to configure (e.g., 120363...@g.us)
Habilitado Boolean flag to enable or disable the restriction configuration for the group

Output

JSON

  • enabled - Indicates if the restriction setting is enabled or disabled for the group
  • groupId - The ID of the WhatsApp group for which the restriction setting was configured

Dependencies

  • Press Ticket API with API token authentication

Troubleshooting

  • Ensure the group ID is valid and the API token has permissions to modify group settings.
  • If the API returns an error, check network connectivity and API endpoint correctness.
  • Verify that the 'enabled' property is a boolean value to avoid request errors.

Links

Discussion