Class MenuButtonCommands
java.lang.Object
org.telegram.telegrambots.meta.api.objects.menubutton.MenuButton
org.telegram.telegrambots.meta.api.objects.menubutton.MenuButtonCommands
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
- Version:
- 6.0 Represents menu button, which opens the list of bot's commands.
- 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
-
MenuButtonCommands
public MenuButtonCommands()
-
-
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
-