Bots API 2.0

This commit is contained in:
Rubenlagus 2016-04-12 04:51:32 +02:00
parent c587f83204
commit 0b73abad50

View File

@ -86,7 +86,7 @@ public class ReplyKeyboardMarkup implements ReplyKeyboard {
for (KeyboardRow innerRow : this.keyboard) {
JSONArray innerJSONKeyboard = new JSONArray();
for (KeyboardButton button : innerRow) {
innerJSONKeyboard.put(button);
innerJSONKeyboard.put(button.toJson());
}
jsonkeyboard.put(innerJSONKeyboard);
}