App messaging: Message events

Delivered

{
    "eventId": "c34a5952-9a74-4b91-91df-6a63f64c7875",
    "accountId": 1234,
    "apiSpaceId": "fb42e8af-5fc3-40d4-a38c-034535c0a385",
    "name": "conversationMessage.delivered",
    "payload": {
        "conversationId": "e215cfce-4e4c-41ad-a396-1253e4df76f7",
        "scope": "a2p",
        "direction": "inbound",
        "isPublicConversation": false,
        "profileId": "dave",
        "timestamp": "2017-05-31T16:06:21.566Z",
        "id": "8a05572f-a102-4b0c-9944-ec30caef1d6f",
        "conversationEventId": 5
    },
    "revision": 5,
    "timestamp": "2017-05-31T16:06:22.003Z"
}

Read

{
    "eventId": "5f214933-3add-4f55-84e3-803d8772360e",
    "accountId": 1234,
    "apiSpaceId": "fb42e8af-5fc3-40d4-a38c-034535c0a385",
    "name": "conversationMessage.read",
    "payload": {
        "conversationId": "e215cfce-4e4c-41ad-a396-1253e4df76f7",
        "scope": "a2p",
        "direction": "inbound",
        "isPublicConversation": false,
        "profileId": "dave",
        "timestamp": "2017-06-01T10:04:47.006Z",
        "id": "f4cc0e85-c47c-410c-993c-d73032cb04fc",
        "conversationEventId": 31
    },
    "revision": 31,
    "timestamp": "2017-06-01T10:04:47.434Z"
}

Sent

{
    "eventId": "65a891c0-01ff-41de-bc21-6313a3c6abd4",
    "accountId": 1234,
    "apiSpaceId": "fb42e8af-5fc3-40d4-a38c-034535c0a385",
    "name": "conversationMessage.sent",
    "payload": {
        "metadata": {},
        "context": {
            "from": {
                "id": "dave"
            },
            "conversationId": "e215cfce-4e4c-41ad-a396-1253e4df76f7",
            "sentBy": "session:dave",
            "sentOn": "2017-05-31T16:30:35.206Z",
            "scope": "a2p",
            "direction": "inbound"
        },
        "parts": [
            {
                "data": "dhdhdhdjdsjs",
                "size": 12,
                "type": "text/plain"
            }
        ],
        "id": "61320b34-0ca2-4a9f-8338-de33407450ba",
        "conversationEventId": 6
    },
    "revision": 6,
    "timestamp": "2017-05-31T16:30:35.208Z"
}