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.SpeechRecognitionResult |
speechRecognitionResult
Result of speech recognition in the video note; 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.
|
byte[] |
waveform
A waveform representation of the video note's audio in 5-bit format; may be empty if unknown.
|
| Constructor and Description |
|---|
VideoNote()
Describes a video note.
|
VideoNote(int duration,
byte[] waveform,
int length,
TdApi.Minithumbnail minithumbnail,
TdApi.Thumbnail thumbnail,
TdApi.SpeechRecognitionResult speechRecognitionResult,
TdApi.File video)
Describes a video note.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int duration
public byte[] waveform
public int length
public TdApi.Minithumbnail minithumbnail
public TdApi.Thumbnail thumbnail
public TdApi.SpeechRecognitionResult speechRecognitionResult
public TdApi.File video
public static final int CONSTRUCTOR
public VideoNote()
public VideoNote(int duration,
byte[] waveform,
int length,
TdApi.Minithumbnail minithumbnail,
TdApi.Thumbnail thumbnail,
TdApi.SpeechRecognitionResult speechRecognitionResult,
TdApi.File video)
duration - Duration of the video, in seconds; as defined by the sender.waveform - A waveform representation of the video note's audio in 5-bit format; may be empty if unknown.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.speechRecognitionResult - Result of speech recognition in the video note; may be null.video - File containing the video.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object