Package org.drinkless.tdlib
Class TdApi.VideoNote
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.VideoNote
- Enclosing class:
- TdApi
Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intDuration of the video, in seconds; as defined by the sender.intVideo width and height; as defined by the sender.Video minithumbnail; may be null.Result of speech recognition in the video note; may be null.Video thumbnail in JPEG format; as defined by the sender; may be null.File containing the video.byte[]A waveform representation of the video note's audio in 5-bit format; may be empty if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
duration
public int durationDuration of the video, in seconds; as defined by the sender. -
waveform
public byte[] waveformA waveform representation of the video note's audio in 5-bit format; may be empty if unknown. -
length
public int lengthVideo 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
VideoNote
public VideoNote()Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format. -
VideoNote
public VideoNote(int duration, byte[] waveform, int length, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.SpeechRecognitionResult speechRecognitionResult, TdApi.File video) Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-