Class InlineKeyboardButton
java.lang.Object
org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.InlineKeyboardButton
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
- Version:
- 6.1 This object represents one button of an inline keyboard. You must use exactly one of the optional fields.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
InlineKeyboardButton
public InlineKeyboardButton()
-
-
Method Details
-
validate
Description copied from interface:Validable
Validates that mandatory fields are filled and optional objects- Specified by:
validate
in interfaceValidable
- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-