Merge pull request #26 from rubenlagus/dev

Bots API 2.0
This commit is contained in:
Ruben Bermudez 2016-04-12 04:53:16 +02:00
commit 9bb71cbbfa

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);
}