Class TdApi.MessageVideo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MessageContent
dev.voroby.springframework.telegram.client.TdApi.MessageVideo
- Enclosing class:
- TdApi
A video message.
-
Field Summary
Modifier and TypeFieldDescriptionVideo caption.static final int
Identifier uniquely determining type of the object.boolean
True, if the video preview must be covered by a spoiler animation.boolean
True, if the video thumbnail must be blurred and the video must be shown only while tapped.boolean
True, if the caption must be shown above the video; otherwise, the caption must be shown below the video.The video description. -
Constructor Summary
ConstructorDescriptionA video message.MessageVideo
(TdApi.Video video, TdApi.FormattedText caption, boolean showCaptionAboveMedia, boolean hasSpoiler, boolean isSecret) A video message. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
video
The video description. -
showCaptionAboveMedia
public boolean showCaptionAboveMediaTrue, if the caption must be shown above the video; otherwise, the caption must be shown below the video. -
hasSpoiler
public boolean hasSpoilerTrue, if the video preview must be covered by a spoiler animation. -
isSecret
public boolean isSecretTrue, if the video thumbnail must be blurred and the video must be shown only while tapped. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageVideo
public MessageVideo()A video message. -
MessageVideo
public MessageVideo(TdApi.Video video, TdApi.FormattedText caption, boolean showCaptionAboveMedia, boolean hasSpoiler, boolean isSecret) A video message.- Parameters:
video
- The video description.caption
- Video caption.showCaptionAboveMedia
- True, if the caption must be shown above the video; otherwise, the caption must be shown below the video.hasSpoiler
- True, if the video preview must be covered by a spoiler animation.isSecret
- True, if the video thumbnail must be blurred and the video must be shown only while tapped.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-