Class ReplyKeyboardRemove
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.replykeyboard.ReplyKeyboardRemove
-
- All Implemented Interfaces:
Serializable,BotApiObject,InputBotApiObject,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 booleanequals(Object o)BooleangetRemoveKeyboard()BooleangetSelective()inthashCode()ReplyKeyboardRemovesetSelective(Boolean selective)StringtoString()voidvalidate()Validates that mandatory fields are filled and optional objects
-
-
-
Method Detail
-
getRemoveKeyboard
public Boolean getRemoveKeyboard()
-
getSelective
public Boolean getSelective()
-
setSelective
public ReplyKeyboardRemove setSelective(Boolean selective)
-
validate
public void validate() throws TelegramApiValidationExceptionDescription copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
-