Bots API 2.0
This commit is contained in:
parent
c587f83204
commit
0b73abad50
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user