This event notifies you of messages that were delivered to your contact.
{
"event": "messages_delivered",
"timestamp" : "2017-12-29T17:26:17.331Z",
"data" : {
"channel": {
"id": "6456078759331238786",
"type": "viber_business_messages"
},
"contact": {
"id": "6456078781510718339",
"phone_number": "15558576309"
},
"messages": [
{ "id": "6456078996108088196" },
{ "id": "6456079002382766981" }
],
"delivered_timestamp": "2017-12-29T17:26:16.001Z"
}
}
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 when Amio servers received notification about message delivery. This value may vary from webhook timestamp attribute due to delays. |