Class InlineKeyboardButton
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.InlineKeyboardButton
-
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
public class InlineKeyboardButton extends Object implements Validable, BotApiObject
- Version:
- 1.0 This object represents one button of an inline keyboard. You must use exactly one of the optional fields.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InlineKeyboardButton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
validate
public void validate() throws TelegramApiValidationExceptionDescription copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
-