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 9c2c3cc commit c7bc349Copy full SHA for c7bc349
src/main/java/com/pengrad/telegrambot/model/request/InlineKeyboardButton.java
@@ -10,6 +10,7 @@ public class InlineKeyboardButton {
10
private String url;
11
private String callback_data;
12
private String switch_inline_query;
13
+ private String switch_inline_query_current_chat;
14
15
public InlineKeyboardButton(String text) {
16
this.text = text;
@@ -29,4 +30,9 @@ public InlineKeyboardButton switchInlineQuery(String switchInlineQuery) {
29
30
switch_inline_query = switchInlineQuery;
31
return this;
32
}
33
+
34
+ public InlineKeyboardButton switchInlineQueryCurrentChat(String switchInlineQueryCurrentChat) {
35
+ switch_inline_query_current_chat = switchInlineQueryCurrentChat;
36
+ return this;
37
+ }
38
0 commit comments