Class InlineQueryResultsButton
java.lang.Object
org.telegram.telegrambots.meta.api.objects.inlinequery.result.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
InlineQueryResultsButton
public InlineQueryResultsButton()
-
-
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
-