Package org.drinkless.tdlib
Class TdApi.InputVideoNote
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputVideoNote
- Enclosing class:
- TdApi
A video note to be sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intDuration of the video, in seconds; 0-60.intVideo width and height; must be positive and not greater than 640.Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.Video note file to be sent. -
Constructor Summary
ConstructorsConstructorDescriptionA video note to be sent.InputVideoNote(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length) A video note to be sent. -
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
-
videoNote
Video note file to be sent. The video is expected to be encoded to MPEG4 format with H.264 codec and have no data outside of the visible circle. -
thumbnail
Video thumbnail; may be null if empty; pass null to skip thumbnail uploading. -
duration
public int durationDuration of the video, in seconds; 0-60. -
length
public int lengthVideo width and height; must be positive and not greater than 640. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputVideoNote
public InputVideoNote()A video note to be sent. -
InputVideoNote
public InputVideoNote(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length) A video note to be sent.- Parameters:
videoNote- Video note file to be sent. The video is expected to be encoded to MPEG4 format with H.264 codec and have no data outside of the visible circle.thumbnail- Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.duration- Duration of the video, in seconds; 0-60.length- Video width and height; must be positive and not greater than 640.
-
-
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
-