We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f18762 commit 0942f18Copy full SHA for 0942f18
README.md
@@ -46,9 +46,9 @@ bot.execute(request, new Callback() {
46
47
#### Send message
48
```java
49
-bot.execute(new SendMessage(chatId, "message text"));
+SendResponse sendResponse = bot.execute(new SendMessage(chatId, "message text"));
50
51
-bot.execute(
+SendResponse sendResponse = bot.execute(
52
new SendMessage(chatId, "message <b>bold</b> text")
53
.parseMode(ParseMode.HTML)
54
.replyMarkup(new ReplyKeyboardMarkup(new String[]{"button 1", "button 2"}))
0 commit comments