Actions63
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Grupo → Sair Do Grupo
AI-generatedSummary
Makes the Baileys bot leave the specified group.
Inputs
- instanceName (required) — Nome da instância Baileys a usar.
- groupJid (required) — ID do grupo (JID) do WhatsApp do qual o bot sairá.
Output shape
A JSON array containing the API response from the leave-group endpoint.
Both parameters are required strings as declared in the node's properties. The execute function reads them via getNodeParameter and passes them to the underlying Baileys operation function, then returns the result wrapped in an array via returnJsonArray.
Examples
Example 1: Leave a group named 'My Group' with JID '1203631234567890@g.us' using instance 'myInstance'.
instanceName: 'myInstance', groupJid: '1203631234567890@g.us'