Class ForceReplyKeyboard
java.lang.Object
org.telegram.telegrambots.meta.api.objects.replykeyboard.ForceReplyKeyboard
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,ReplyKeyboard
- Version:
- 1.0 Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot‘s message and tapped ’Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
ForceReplyKeyboard
public ForceReplyKeyboard()
-
-
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
-