This event occurs when a message has been delivered to contact.
{
"event": "messages_delivered",
"timestamp" : "2016-10-06T13:42:48Z",
"data" : {
"channel": {
"id": "6456078759331248741",
"type": "amio_chat"
},
"contact": {
"id": "6456078781510715474"
},
"messages": [
{ "id": "6456078996108099701" },
{ "id": "6456078996108097880" }
],
"delivered_timestamp": "2016-10-06T13:40:01Z"
}
}
Parameter | Type | Description |
---|---|---|
data.channel | object | Channel where the data.contact resides in. |
data.contact | object | Contact to whom the messages were delivered. |
data.messages | array | Array of messages that were delivered. Every message will contain message.id . |
data.delivered_timestamp | string | Iso 8601 Timestamp. The time of message delivery to the user's device. This value may vary from webhook timestamp attribute due to delays. |