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
-
Method Summary
-
Constructor Details
-
MenuButtonCommands
public MenuButtonCommands()
-
-
Method Details
-
validate
Description copied from interface:Validable
Validates that mandatory fields are filled and optional objects- Specified by:
validate
in interfaceValidable
- Overrides:
validate
in classMenuButton
- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-
getType
- Specified by:
getType
in classMenuButton
-