commit
9bb71cbbfa
@ -86,7 +86,7 @@ public class ReplyKeyboardMarkup implements ReplyKeyboard {
|
|||||||
for (KeyboardRow innerRow : this.keyboard) {
|
for (KeyboardRow innerRow : this.keyboard) {
|
||||||
JSONArray innerJSONKeyboard = new JSONArray();
|
JSONArray innerJSONKeyboard = new JSONArray();
|
||||||
for (KeyboardButton button : innerRow) {
|
for (KeyboardButton button : innerRow) {
|
||||||
innerJSONKeyboard.put(button);
|
innerJSONKeyboard.put(button.toJson());
|
||||||
}
|
}
|
||||||
jsonkeyboard.put(innerJSONKeyboard);
|
jsonkeyboard.put(innerJSONKeyboard);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user