public static class TdApi.Video extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
duration
Duration of the video, in seconds; as defined by the sender.
|
java.lang.String |
fileName
Original name of the file; as defined by the sender.
|
boolean |
hasStickers
True, if stickers were added to the video.
|
int |
height
Video height; as defined by the sender.
|
java.lang.String |
mimeType
MIME type of the file; as defined by the sender.
|
TdApi.Minithumbnail |
minithumbnail
Video minithumbnail; may be null.
|
boolean |
supportsStreaming
True, if the video is supposed to be streamed.
|
TdApi.Thumbnail |
thumbnail
Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null.
|
TdApi.File |
video
File containing the video.
|
int |
width
Video width; as defined by the sender.
|
Constructor and Description |
---|
Video()
Describes a video file.
|
Video(int duration,
int width,
int height,
java.lang.String fileName,
java.lang.String mimeType,
boolean hasStickers,
boolean supportsStreaming,
TdApi.Minithumbnail minithumbnail,
TdApi.Thumbnail thumbnail,
TdApi.File video)
Describes a video file.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int duration
public int width
public int height
public java.lang.String fileName
public java.lang.String mimeType
public boolean hasStickers
public boolean supportsStreaming
@Nullable public TdApi.Minithumbnail minithumbnail
@Nullable public TdApi.Thumbnail thumbnail
public TdApi.File video
public static final int CONSTRUCTOR
public Video()
public Video(int duration, int width, int height, java.lang.String fileName, java.lang.String mimeType, boolean hasStickers, boolean supportsStreaming, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.File video)
duration
- Duration of the video, in seconds; as defined by the sender.width
- Video width; as defined by the sender.height
- Video height; as defined by the sender.fileName
- Original name of the file; as defined by the sender.mimeType
- MIME type of the file; as defined by the sender.hasStickers
- True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets.supportsStreaming
- True, if the video is supposed to be streamed.minithumbnail
- Video minithumbnail; may be null.thumbnail
- Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may be null.video
- File containing the video.public int getConstructor()
getConstructor
in class TdApi.Object