Package it.tdlight.jni
Class TdApi.InlineKeyboardButtonTypeSwitchInline
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButtonType
it.tdlight.jni.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 int
CONSTRUCTOR
boolean
inCurrentChat
True, if the inline query should be sent from the current chat.String
query
Inline 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(DataInput input)
InlineKeyboardButtonTypeSwitchInline(String query, boolean inCurrentChat)
A button that forces an inline query to the bot to be inserted in the input field. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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 should be sent from the current chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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 should be sent from the current chat.
-
InlineKeyboardButtonTypeSwitchInline
- 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()
-