Message Received

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": "amio_chat"
    },
    "contact": {
      "id": "6456078781510715474"
    },
    "content": {
      "type": "text",
      "payload": "That's really nice that I can write you here. You guys rock!",
      "quick_reply": {
        "payload": "DEVELOPER_DEFINED_PAYLOAD"
      }
    },
    "nlp": {...}
  }
}
ParameterTypeDescription
dataobjectObject representing message received. Different type of messages can be received (text, image, etc.). The structure matches Send Message response structure except for the nlp key which is valid only for received messages.