Class InlineQueryResultsButton
Object
InlineQueryResultsButton
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
- Version:
- 6.7 This object represents a button to be shown above inline query results. You must use exactly one of the optional fields.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
InlineQueryResultsButton
public InlineQueryResultsButton()
-
-
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
-