This event is fired whenever a contact sends a message to your channel.
{
"event": "message_received",
"timestamp": "2019-03-27T18:42:48Z",
"data": {
"id": "6456078996108099701",
"channel": {
"id": "6456078759331248741",
"type": "email_daktela"
},
"contact": {
"id": "6619975808952586225",
"name": "[email protected]"
},
"content": {
"type": "text",
"payload": "My cat got lost!"
}
}
}
Parameter | Type | Description |
---|---|---|
data | object | Object representing message received. It copies the structure of emails sent . |