Actions104
- Ticket Actions
- Setor Actions
- Tag Actions
- WhatsApp Actions
- Sessão WhatsApp Actions
- Presença Actions
- Grupos WhatsApp Actions
- Listar Grupos
- Criar Grupo
- Obter Grupo
- Alterar Nome
- Alterar Descrição
- Adicionar Participantes
- Remover Participantes
- Promover a Admin
- Rebaixar Admin
- Listar Participantes
- Obter Link de Convite
- Revogar Link de Convite
- Config. Modo Adicionar Membros
- Config. Modo Anúncio
- Config. Restrição
- Alterar Foto
- Remover Foto
- Listar Solicitações de Entrada
- Aprovar Entrada
- Rejeitar Entrada
- Sair do Grupo
- Usuário Actions
- Resposta Rápida Actions
- Status do Cliente Actions
- Backup Actions
- Configuração Actions
- Log de Atividade Actions
- Log de Erro Actions
- Atualização do Sistema Actions
- Vídeo Actions
- Sistema Actions
Grupos WhatsApp → Config. Modo Anúncio
AI-generatedOverview
This node operation allows configuring the announcement mode of a WhatsApp group via the Press Ticket API. Specifically, it enables or disables the setting that restricts message sending in the group to only admins, effectively setting the group to announcement mode. This is useful for managing group communication where only admins should post messages, such as official announcements or broadcast groups.
Use Case Examples
- Enable announcement mode in a WhatsApp group to allow only admins to send messages.
- Disable announcement mode to allow all group members to send messages.
Properties
| Name | Meaning |
|---|---|
| ID do Grupo | The unique identifier of the WhatsApp group to configure (e.g., 120363...@g.us). This is required to specify which group the announcement mode setting applies to. |
| Habilitado | Boolean flag to enable (true) or disable (false) the announcement mode setting in the group, controlling whether only admins can send messages. |
Output
JSON
enabled- Indicates if the announcement mode is enabled or disabled.groupId- The ID of the group for which the announcement mode was configured.success- Indicates if the API call to set the announcement mode was successful.
Dependencies
- Press Ticket API with an API token for authentication
Troubleshooting
- Ensure the group ID is correct and the bot has admin privileges in the group to change settings.
- Check that the API token is valid and has permissions to modify group settings.
- If the API call fails, verify network connectivity and API endpoint availability.
Links
- Press Ticket API - Set Announcement Mode - Official API documentation for configuring announcement mode in WhatsApp groups via Press Ticket API.