Class MenuButtonDefault
java.lang.Object
org.telegram.telegrambots.meta.api.objects.menubutton.MenuButton
org.telegram.telegrambots.meta.api.objects.menubutton.MenuButtonDefault
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
- Version:
- 6.0 Describes that no specific value for the menu button was set.
- Author:
- Ruben Bermudez
- See Also:
-
Field Summary
Fields inherited from class org.telegram.telegrambots.meta.api.objects.menubutton.MenuButton
TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MenuButtonDefault
public MenuButtonDefault()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Overrides:
validatein classMenuButton- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
getType
- Specified by:
getTypein classMenuButton
-