Class InlineQueryResultVideo
java.lang.Object
org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultVideo
- All Implemented Interfaces:
Serializable,BotApiObject,Validable,InlineQueryResult
- Version:
- 1.0 Represents link to a page containing an embedded video player or a video file. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
- Author:
- Ruben Bermudez
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResult
VALIDTHUMBTYPES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.voidsetThumbUrl(String thumbUrl) Deprecated.Use {#setThumbnailUrl(String)}voidvalidate()Validates that mandatory fields are filled and optional objects
-
Constructor Details
-
InlineQueryResultVideo
public InlineQueryResultVideo()
-
-
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
-
getThumbUrl
Deprecated.Use {#getThumbnailUrl()} -
setThumbUrl
Deprecated.Use {#setThumbnailUrl(String)}
-
#getThumbnailUrl()}