Actions50
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Newsletter/Canal Actions
- Integração Actions
Chat → Gerenciar Arquivo
AI-generatedSummary
Archive or unarchive a chat conversation.
Inputs
- chat (required) — Número do contato (contact number)
- archive (required) — Choose whether to archive or unarchive the conversation; true to archive, false to unarchive.
- messageId (required) — ID da última mensagem (ID of the last message)
- fromMe (required) — Se a mensagem foi enviada pela instância (Whether the message was sent by the instance)
Output shape
The GO-API integration returns an acknowledgment or updated chat status confirming the archive/unarchive action.
All four parameters are required. The
archiveoption usestruefor Archive andfalsefor Unarchive. The operation modifies the archived status of the specified chat on the GO-API integration.
Examples
Example 1: Archive a chat
chat: '+5511987654321', archive: true, messageId: '12345', fromMe: false