Class KeyboardButtonRequestUser
Object
KeyboardButtonRequestUser
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
- Version:
- 6.5 This object defines the criteria used to request a suitable user. The identifier of the selected user will be shared with the bot when the corresponding button is pressed.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
KeyboardButtonRequestUser
public KeyboardButtonRequestUser()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-