Actions85
- Instancia Actions
- Enviar Mensagem Actions
- Operações Com Mensagem Actions
- Grupo Actions
- Chamada Actions
- Chat Actions
- Comunidade Actions
- Perfil Actions
- Etiqueta Actions
- Newsletter Actions
- Usuário Actions
Grupo → Definir Modo De Anúncio
AI-generatedSummary
Set the announcement mode of a specified WhatsApp group, controlling whether only admins can send messages.
Inputs
- JID Do Grupo (required) — The JID identifier of the group (format: 120363XXXXXXXXXX@g.us) where the announcement mode will be set.
- Modo Anúncio (required) — Boolean flag to enable or disable announcement mode; true means only admins can send messages.
Output shape
a single JSON object containing the updated group announcement mode status.
The operation returns the result from the WhatsApp API confirming if the group's announcement mode was set successfully. Errors or failure responses may also be returned if inputs are invalid or request fails.
Examples
Example 1: Set announcement mode to allow only admins to send messages
Provide the group JID and set Modo Anúncio to true.