vk-java-sdk
vk-java-sdk copied to clipboard
Unexpected model of returned callback events
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
Partially fixed in 1.0.9