Skip to content

Commit d53b9a2

Browse files
Исправлено использование клавиатуры для ответа в сообщении с изображением
1 parent d861041 commit d53b9a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/ru/untitled_devs/core/client/PollingClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public Message sendPhoto(long chatId, String caption, URL imageUrl, ReplyKeyboar
143143
SendPhoto sendPhoto = new SendPhoto();
144144
sendPhoto.setChatId(chatId);
145145
sendPhoto.setCaption(caption);
146+
sendPhoto.setReplyMarkup(replyKeyboard);
146147

147148
InputFile file = new InputFile(imageUrl.toString());
148149
sendPhoto.setPhoto(file);

0 commit comments

Comments
 (0)