Package org.drinkless.tdlib
Class TdApi.InlineKeyboardButton
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InlineKeyboardButton
-
- Enclosing class:
- TdApi
public static class TdApi.InlineKeyboardButton extends TdApi.Object
Represents a single button in an inline keyboard.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringtextText of the button.TdApi.InlineKeyboardButtonTypetypeType of the button.
-
Constructor Summary
Constructors Constructor Description InlineKeyboardButton()Represents a single button in an inline keyboard.InlineKeyboardButton(String text, TdApi.InlineKeyboardButtonType type)Represents a single button in an inline keyboard.
-
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
-
text
public String text
Text of the button.
-
type
public TdApi.InlineKeyboardButtonType type
Type of the button.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InlineKeyboardButton
public InlineKeyboardButton()
Represents a single button in an inline keyboard.
-
InlineKeyboardButton
public InlineKeyboardButton(String text, TdApi.InlineKeyboardButtonType type)
Represents a single button in an inline keyboard.- Parameters:
text- Text of the button.type- Type of the button.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-