Actions63
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Chat → Gerenciar Arquivo
AI-generatedSummary
Archive or unarchive a conversation in a Baileys WhatsApp API instance.
Inputs
- instanceName (required) — Digite o nome da instância
- chat (required) — Número do contato
- archive (required) — Escolha se deseja arquivar ou desarquivar a conversa
- messageId (required) — ID da última mensagem
- fromMe (required) — Se a mensagem foi enviada pela instância
Output shape
array
The node's execute method wraps the result with returnJsonArray, so the operation returns a JSON array.
Examples
Example 1: Archive a contact's last message
Set instanceName, chat number, archive to true, messageId of the target message, and fromMe as appropriate.