We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Делаю запрос:
Keyboard keyboard = vk.messages() .getConversationsById(actor, peerId).execute() .getItems().get(0).getCurrentKeyboard();
Получаю ответ, а клавиатура недораспарсилась и находится в таком состоянии:
"current_keyboard": { "author_id": peerId, "buttons": [ [ { "action": {}, "color": "positive" }, { "action": {}, "color": "default" }, { "action": {}, "color": "default" } ] ], "inline": false, "one_time": true }
А должна быть такой (в таком виде она приходит):
"current_keyboard": { "one_time": true, "buttons": [ [ { "action": { "label": "1", "type": "text", "payload": "1" }, "color": "positive" }, { "action": { "label": "2", "type": "text", "payload": "2" }, "color": "default" }, { "action": { "label": "3", "type": "text", "payload": "3" }, "color": "default" } ] ], "author_id": peerId, "inline": false }
При десериализации из json в pojo, что-то идет не так и клавиатура неверно парсится
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Делаю запрос:
Получаю ответ, а клавиатура недораспарсилась и находится в таком состоянии:
А должна быть такой (в таком виде она приходит):
При десериализации из json в pojo, что-то идет не так и клавиатура неверно парсится
The text was updated successfully, but these errors were encountered: