GO-API icon

GO-API

Interact with GO-API - WhatsApp API

Chat → Gerenciar Arquivo

AI-generated

Summary

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 archive option uses true for Archive and false for 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

Links

Discussion