public static class TdApi.VideoNote 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.
|
int |
length
Video width and height; as defined by the sender.
|
TdApi.Minithumbnail |
minithumbnail
Video minithumbnail; may be null.
|
TdApi.Thumbnail |
thumbnail
Video thumbnail in JPEG format; as defined by the sender; may be null.
|
TdApi.File |
video
File containing the video.
|
Constructor and Description |
---|
VideoNote()
Describes a video note.
|
VideoNote(int duration,
int length,
TdApi.Minithumbnail minithumbnail,
TdApi.Thumbnail thumbnail,
TdApi.File video)
Describes a video note.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int duration
public int length
@Nullable public TdApi.Minithumbnail minithumbnail
@Nullable public TdApi.Thumbnail thumbnail
public TdApi.File video
public static final int CONSTRUCTOR
public VideoNote()
public VideoNote(int duration, int length, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.File video)
duration
- Duration of the video, in seconds; as defined by the sender.length
- Video width and height; as defined by the sender.minithumbnail
- Video minithumbnail; may be null.thumbnail
- Video thumbnail in JPEG format; as defined by the sender; may be null.video
- File containing the video.public int getConstructor()
getConstructor
in class TdApi.Object