vk-java-sdk icon indicating copy to clipboard operation
vk-java-sdk copied to clipboard

Unexpected model of returned callback events

Open mkfl3x opened this issue 4 years ago • 1 comments

For example 'Message' object wrapped with 'message' field, and it's not matching to POJO

"object": {
    "type": "message_new",
    "message": {
       "from_id" : 1
       ...
     }
   ...
}

But, for example 'Wallpost' is ok:

{
   "type": "wall_post_new",
   "object": {
      "id": 123,
      ...
   }
   ...
}

This should be put in order, because this leads to deserialization failures

mkfl3x avatar Feb 19 '21 20:02 mkfl3x

Partially fixed in 1.0.9

aotd1 avatar Apr 21 '21 15:04 aotd1