Skip to content

Commit 0942f18

Browse files
author
Stanislav Parshin
committed
Update README.md
1 parent 9f18762 commit 0942f18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ bot.execute(request, new Callback() {
4646

4747
#### Send message
4848
```java
49-
bot.execute(new SendMessage(chatId, "message text"));
49+
SendResponse sendResponse = bot.execute(new SendMessage(chatId, "message text"));
5050

51-
bot.execute(
51+
SendResponse sendResponse = bot.execute(
5252
new SendMessage(chatId, "message <b>bold</b> text")
5353
.parseMode(ParseMode.HTML)
5454
.replyMarkup(new ReplyKeyboardMarkup(new String[]{"button 1", "button 2"}))

0 commit comments

Comments
 (0)