Edit me

Description

Object represents update recieved. UpdateResponse composed of an array of updates.

Each update has a type repsenting unique set of data.

There are folowing types of updates available:

Structure

Variable Obligative Description
updates true String composed of json array of updates

Sample object


		{
            "updates": [
                {
                    "updateId": "Uuid_value",
                    "messageId": "Uuid_value",
                    "sentAt": "2019-11-11T05:57:08.132Z",
                    "author": {
                        "id": "Uuid_value",
                        "username": "alehandro",
                        "lastName": "nanbar",
                        "firstName": "geeky geck",
                        "type": "USER"
                    },
                    "dialog": {
                        "id": "Uuid_value",
                        "type": "USER"
                    },
                    "content": "test1",
                    "forwardMetadata": null,
                    "media": [],
                    "likeCount": null,
                    "repostCount": null,
                    "viewCount": null,
                    "channelPostAuthor": null,
                    "type": "Message"
                },
                {
                    "updateId": "Uuid_value",
                    "messageId": "Uuid_value",
                    "sentAt": "2019-11-11T05:57:11.473Z",
                    "author": {
                        "id": "Uuid_value",
                        "username": "alehandro",
                        "lastName": "nanbar",
                        "firstName": "geeky geck",
                        "type": "USER"
                    },
                    "dialog": {
                        "id": "Uuid_value",
                        "type": "USER"
                    },
                    "content": "test2",
                    "forwardMetadata": null,
                    "media": [],
                    "likeCount": null,
                    "repostCount": null,
                    "viewCount": null,
                    "channelPostAuthor": null,
                    "type": "Message"
                }
            ]
        }