Messages Read

This event occurs when a message has been read by the contact.

{
  "event": "messages_read",
  "timestamp" : "2017-12-29T17:26:17.331Z",
  "data" : {
    "channel": {
      "id": "6456078759331238786",
      "type": "viber_business_messages"
    },
    "contact": {
      "id": "6456078781510718339",
      "phone_number": "15558576309"
    },
    "last_read_timestamp": "2017-12-29T17:26:27.346Z"
  }
}

Parameter

Type

Description

data.channel

object

Channel where the data.contact resides in.

data.contact

object

Contact that has read messages delivered.

last_read_timestamp

string

Iso 8601 Timestamp

All messages that were sent before this timestamp were read. (It doesn't mean "time when the messages were read".)