java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButtonType
it.tdlight.jni.TdApi.InlineKeyboardButtonTypeSwitchInline
- Enclosing class:
- TdApi
public static final 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
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the inline query must be sent from the current chat.Inline query to be sent to the bot. -
Constructor Summary
ConstructorDescriptionA button that forces an inline query to the bot to be inserted in the input field.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
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
query
Inline query to be sent to the bot. -
inCurrentChat
public boolean inCurrentChatTrue, if the inline query must be sent from the current chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InlineKeyboardButtonTypeSwitchInline
public InlineKeyboardButtonTypeSwitchInline()A button that forces an inline query to the bot to be inserted in the input field. -
InlineKeyboardButtonTypeSwitchInline
A button that forces an inline query to the bot to be inserted in the input field.- Parameters:
query
- String Inline query to be sent to the bot.inCurrentChat
- boolean True, if the inline query must be sent from the current chat.
-
InlineKeyboardButtonTypeSwitchInline
A button that forces an inline query to the bot to be inserted in the input field.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-