Class ReplyKeyboardRemove
java.lang.Object
org.telegram.telegrambots.meta.api.objects.replykeyboard.ReplyKeyboardRemove
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,ReplyKeyboard
- Version:
- 1.0 Upon receiving a message with this object, Telegram clients will hide the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (@see ReplyKeyboardMarkup).
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
ReplyKeyboardRemove
public ReplyKeyboardRemove()
-
-
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
-