рефакторинг в отправке клавиатуры
This commit is contained in:
parent
2ebbe9356d
commit
f74ee0bcbd
@ -55,7 +55,9 @@ public class MailSenderVk implements Sent {
|
||||
if (boxAnswer.getKeyboard() != null) {
|
||||
messages.keyboard(KeyBoardConvert.convertKeyboard(boxAnswer.getKeyboard()));
|
||||
} else {
|
||||
// messages.keyboard("{\"buttons\":[],\"one_time\":true}");
|
||||
Keyboard keyboard = new Keyboard();
|
||||
keyboard.setOneTime(true);
|
||||
messages.keyboard(keyboard);
|
||||
}
|
||||
if (boxAnswer.getLat() != null && boxAnswer.getaLong() != null) {
|
||||
messages.lat(boxAnswer.getLat()).lng(boxAnswer.getaLong());
|
||||
|
Reference in New Issue
Block a user