Skip to main content

Oi pessoal,

Estou usando o endpoint Get notifications of a message para verificar se uma mensagem foi entregue.
Minha pergunta é: O que significa exatamente o retorno accepted, dispatched?

Pelo que percebi accepted é quanto é entregue, mas não lida?

@GabrielPetrone

Fala meu querido! @Bruno_Gabriel
De acordo com nossa docs na seção Notificações:

  • event : Event related to the message. The recipients events depend on the channel and may not be available. The valid values are:
    • accepted : The message has been accepted by the server.
    • dispatched : The message has left the server and was dispatched to recipient.
    • received : The recipient has received the message.
    • consumed : The recipient has read the message.
    • failed : The message has failed. In this case, the property reason must be present.

Então, accept significa que a mensagem chegou lá no WhatsApp e dispatched quer dizer que ela foi enviada pro número de telefone.
Pra saber se foi entregue é o received e se foi lida é o consumed.

Aí sim hein! SEXTOU :thuglifeblip:


Olá,

Obrigado por informações tão valiosas, tenho uma pergunta
Como posso saber se a mensagem foi respondida? Posso saber a data de resposta via API?


É o status consumed.