Message Updated

When an update happen to message like if a message is edited (depends on the channel) you will receive message.updated event

Request example

js{
    "event": "message.updated",
    "id": "12309a6f-558b-4a57-92ab-5c545b07f55a",
    "account": 1,
    "app": 1,
    "createdAt": 1652973169,
    "deliveryAttempts": 1,
    "firstDeliveryAttempt": 1652973169,
    "data": {
        "conversation": {
            "id": 1,
            "channel": {
                "id": 1
            },
            "state": "OPENED",
            "assignee": null,
            "channelType": "TELEGRAM",
            "messageWindowExpired": null,
            "messageWindowExpiresAt": null,
            "createdAt": 1652783952,
            "messageWindowExpiryConditions": [],
            "participants": [
                {
                    "user": {
                        "id": 1,
                        "__typename": "ChannelUser",
                        "name": null,
                        "firstName": "Ahmed",
                        "lastName": "Abbas",
                        "identifiers": [
                            {
                                "sourceId": "1765698763",
                                "category": "TELEGRAM_ID"
                            }
                        ],
                        "displayName": "Ahmed Abbas",
                        "avatarUrl": null,
                        "optimisedAvatarUrl": null
                    }
                },
                {
                    "user": {
                        "id": 1,
                        "__typename": "AppUser",
                        "fullName": null,
                        "displayName": null,
                        "optimisedAvatarUrl": null
                    }
                }
            ]
        },
        "__typename": "TextMessage",
        "id": 7,
        "idempotencyKey": null,
        "createdAtCursor": "MTY1Mjk3MzE2Nw",
        "direction": "INBOUND",
        "createdAt": 1652973168,
        "failedAt": null,
        "deliveredAt": null,
        "sentAt": null,
        "readAt": null,
        "modifiedAt": null,
        "deletedAt": null,
        "receivedAt": null,
        "messageType": "TEXT",
        "messageSubtype": "NO_MSUBTYPE",
        "messageCategory": "USER",
        "reactions": [],
        "forwarded": false,
        "repliedToMessage": null,
        "user": {
            "id": 1,
            "__typename": "ChannelUser",
            "name": null,
            "firstName": "Ahmed",
            "displayName": "Ahmed Abbas",
            "avatarUrl": null,
            "optimisedAvatarUrl": null,
            "identifiers": [
                {
                    "sourceId": "1765698763",
                    "category": "TELEGRAM_ID"
                }
            ]
        },
        "body": "Hello",
        "quickReplies": []
    }
}

Request data breakdown

KeyvaluetypeDescription
eventmessage.updatedstringname of the event
id30837b84-b007-46dd-943a-092513f69cd8stringid of the event
account1Integerid of the account
app1Integerid of the app
createdAt1652968658Integertimestamp of the creation date
deliveryAttempts1IntegerNumber of times we tried to deliver the event
firstDeliveryAttempt1652968658Integertimestamp of the first time we tried to deliver the event
dataMessage ObjectMessagedata of the object