Package org.drinkless.tdlib
Class TdApi.InlineKeyboardButtonTypeSwitchInline
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InlineKeyboardButtonType
-
- org.drinkless.tdlib.TdApi.InlineKeyboardButtonTypeSwitchInline
-
- Enclosing class:
- TdApi
public static class TdApi.InlineKeyboardButtonTypeSwitchInline extends TdApi.InlineKeyboardButtonType
A button that forces an inline query to the bot to be inserted in the input field.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleaninCurrentChatTrue, if the inline query must be sent from the current chat.StringqueryInline query to be sent to the bot.
-
Constructor Summary
Constructors Constructor Description InlineKeyboardButtonTypeSwitchInline()A button that forces an inline query to the bot to be inserted in the input field.InlineKeyboardButtonTypeSwitchInline(String query, boolean inCurrentChat)A button that forces an inline query to the bot to be inserted in the input field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
query
public String query
Inline query to be sent to the bot.
-
inCurrentChat
public boolean inCurrentChat
True, if the inline query must be sent from the current chat.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InlineKeyboardButtonTypeSwitchInline
public InlineKeyboardButtonTypeSwitchInline()
A button that forces an inline query to the bot to be inserted in the input field.
-
InlineKeyboardButtonTypeSwitchInline
public InlineKeyboardButtonTypeSwitchInline(String query, boolean inCurrentChat)
A button that forces an inline query to the bot to be inserted in the input field.- Parameters:
query- Inline query to be sent to the bot.inCurrentChat- True, if the inline query must be sent from the current chat.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-