public static class TdApi.StoryVideo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
double |
coverFrameTimestamp
Timestamp of the frame used as video thumbnail.
|
double |
duration
Duration of the video, in seconds.
|
boolean |
hasStickers
True, if stickers were added to the video.
|
int |
height
Video height.
|
boolean |
isAnimation
True, if the video has no sound.
|
TdApi.Minithumbnail |
minithumbnail
Video minithumbnail; may be null.
|
int |
preloadPrefixSize
Size of file prefix, which is expected to be preloaded, in bytes.
|
TdApi.Thumbnail |
thumbnail
Video thumbnail in JPEG or MPEG4 format; may be null.
|
TdApi.File |
video
File containing the video.
|
int |
width
Video width.
|
| Constructor and Description |
|---|
StoryVideo()
Describes a video file sent in a story.
|
StoryVideo(double duration,
int width,
int height,
boolean hasStickers,
boolean isAnimation,
TdApi.Minithumbnail minithumbnail,
TdApi.Thumbnail thumbnail,
int preloadPrefixSize,
double coverFrameTimestamp,
TdApi.File video)
Describes a video file sent in a story.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic double duration
public int width
public int height
public boolean hasStickers
public boolean isAnimation
public TdApi.Minithumbnail minithumbnail
public TdApi.Thumbnail thumbnail
public int preloadPrefixSize
public double coverFrameTimestamp
public TdApi.File video
public static final int CONSTRUCTOR
public StoryVideo()
public StoryVideo(double duration,
int width,
int height,
boolean hasStickers,
boolean isAnimation,
TdApi.Minithumbnail minithumbnail,
TdApi.Thumbnail thumbnail,
int preloadPrefixSize,
double coverFrameTimestamp,
TdApi.File video)
duration - Duration of the video, in seconds.width - Video width.height - Video height.hasStickers - True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets.isAnimation - True, if the video has no sound.minithumbnail - Video minithumbnail; may be null.thumbnail - Video thumbnail in JPEG or MPEG4 format; may be null.preloadPrefixSize - Size of file prefix, which is expected to be preloaded, in bytes.coverFrameTimestamp - Timestamp of the frame used as video thumbnail.video - File containing the video.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object