PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Marcar como Lida

AI-generated

Summary

Mark specified WhatsApp messages as read using their message keys for a given WhatsApp instance.

Inputs

  • ID da Instância (required) — Specifies the WhatsApp instance ID to use.
  • Chaves das Mensagens (required) — A JSON array of message keys identifying the messages to mark as read.

Output shape

a single record with the API response indicating success or failure of the operation

The response shape depends on the PAPI WhatsApp API; errors are returned as the operation's output in case of failure.

Examples

Example 1: Mark messages as read

Provide the instance ID and the array of message keys to mark those messages as read in the specified WhatsApp instance.

Discussion