Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Grupos WhatsApp → Config. Modo Adicionar Membros

AI-generated

Overview

This node operation configures the member addition mode for a WhatsApp group, specifying who is allowed to add new members to the group. It is useful for managing group permissions and controlling membership changes in WhatsApp groups.

Use Case Examples

  1. Setting the member add mode to 'admins_only' to restrict adding new members to group admins only.
  2. Setting the member add mode to 'all_members' to allow any group member to add new members.

Properties

Name Meaning
ID do Grupo The unique identifier of the WhatsApp group where the member add mode will be configured.
Modo Defines who can add members to the group, either all members or only admins.

Output

JSON

  • mode - The configured member add mode for the group (all_members or admins_only).
  • groupId - The ID of the WhatsApp group for which the mode was set.
  • success - Indicates if the operation was successful.

Dependencies

  • An API token credential for authenticating requests to the Press Ticket API.

Troubleshooting

  • Ensure the group ID is valid and the bot has permission to modify the group settings.
  • Verify the API token is correct and has the necessary permissions to perform group configuration.
  • Common errors include invalid group ID, unauthorized access, or network issues. Check error messages for details and retry if needed.

Discussion