Class TdApi.InlineKeyboardButton
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InlineKeyboardButton
- Enclosing class:
- TdApi
Represents a single button in an inline keyboard.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Text of the button.Type of the button. -
Constructor Summary
ConstructorDescriptionRepresents a single button in an inline keyboard.InlineKeyboardButton
(String text, TdApi.InlineKeyboardButtonType type) Represents a single button in an inline keyboard. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
text
Text of the button. -
type
Type of the button. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InlineKeyboardButton
public InlineKeyboardButton()Represents a single button in an inline keyboard. -
InlineKeyboardButton
Represents a single button in an inline keyboard.- Parameters:
text
- Text of the button.type
- Type of the button.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-