Class ReplyKeyboardRemove
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.replykeyboard.ReplyKeyboardRemove
-
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,ReplyKeyboard
public class ReplyKeyboardRemove extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReplyKeyboardRemove()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
validate
public void validate() throws TelegramApiValidationException
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
-
-