public static class TdApi.MessageVideo extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
TdApi.AlternativeVideo[] |
alternativeVideos
Alternative qualities of the video.
|
TdApi.FormattedText |
caption
Video caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasSpoiler
True, if the video preview must be covered by a spoiler animation.
|
boolean |
isSecret
True, if the video thumbnail must be blurred and the video must be shown only while tapped.
|
boolean |
showCaptionAboveMedia
True, if the caption must be shown above the video; otherwise, the caption must be shown below the video.
|
TdApi.Video |
video
The video description.
|
| Constructor and Description |
|---|
MessageVideo()
A video message.
|
MessageVideo(TdApi.Video video,
TdApi.AlternativeVideo[] alternativeVideos,
TdApi.FormattedText caption,
boolean showCaptionAboveMedia,
boolean hasSpoiler,
boolean isSecret)
A video message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Video video
public TdApi.AlternativeVideo[] alternativeVideos
public TdApi.FormattedText caption
public boolean showCaptionAboveMedia
public boolean hasSpoiler
public boolean isSecret
public static final int CONSTRUCTOR
public MessageVideo()
public MessageVideo(TdApi.Video video, TdApi.AlternativeVideo[] alternativeVideos, TdApi.FormattedText caption, boolean showCaptionAboveMedia, boolean hasSpoiler, boolean isSecret)
video - The video description.alternativeVideos - Alternative qualities of the video.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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object