public static class TdApi.InlineKeyboardButtonTypeSwitchInline extends TdApi.InlineKeyboardButtonType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
query
Inline query to be sent to the bot.
|
TdApi.TargetChat |
targetChat
Target chat from which to send the inline query.
|
| 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,
TdApi.TargetChat targetChat)
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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String query
public TdApi.TargetChat targetChat
public static final int CONSTRUCTOR
public InlineKeyboardButtonTypeSwitchInline()
public InlineKeyboardButtonTypeSwitchInline(java.lang.String query,
TdApi.TargetChat targetChat)
query - Inline query to be sent to the bot.targetChat - Target chat from which to send the inline query.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object