public static class TdApi.InlineKeyboardButtonTypeSwitchInline extends TdApi.InlineKeyboardButtonType
TdApi.InlineKeyboardButtonType.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
inCurrentChat
True, if the inline query must be sent from the current chat.
|
java.lang.String |
query
Inline query to be sent to the bot.
|
Constructor and Description |
---|
InlineKeyboardButtonTypeSwitchInline()
A button that forces an inline query to the bot to be inserted in the input field.
|
InlineKeyboardButtonTypeSwitchInline(java.lang.String query,
boolean inCurrentChat)
A button that forces an inline query to the bot to be inserted in the input field.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String query
public boolean inCurrentChat
public static final int CONSTRUCTOR
public InlineKeyboardButtonTypeSwitchInline()
public InlineKeyboardButtonTypeSwitchInline(java.lang.String query, boolean inCurrentChat)
query
- Inline query to be sent to the bot.inCurrentChat
- True, if the inline query must be sent from the current chat.public int getConstructor()
getConstructor
in class TdApi.InlineKeyboardButtonType