Package org.drinkless.tdlib
Class TdApi.InputMessageVideoNote
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputMessageContent
-
- org.drinkless.tdlib.TdApi.InputMessageVideoNote
-
- Enclosing class:
- TdApi
public static class TdApi.InputMessageVideoNote extends TdApi.InputMessageContent
A video note message.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intdurationDuration of the video, in seconds.intlengthVideo width and height; must be positive and not greater than 640.TdApi.InputThumbnailthumbnailVideo thumbnail; pass null to skip thumbnail uploading.TdApi.InputFilevideoNoteVideo note to be sent.
-
Constructor Summary
Constructors Constructor Description InputMessageVideoNote()A video note message.InputMessageVideoNote(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length)A video note message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
videoNote
public TdApi.InputFile videoNote
Video note to be sent.
-
thumbnail
public TdApi.InputThumbnail thumbnail
Video thumbnail; pass null to skip thumbnail uploading.
-
duration
public int duration
Duration of the video, in seconds.
-
length
public int length
Video width and height; must be positive and not greater than 640.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputMessageVideoNote
public InputMessageVideoNote()
A video note message.
-
InputMessageVideoNote
public InputMessageVideoNote(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length)
A video note message.- Parameters:
videoNote- Video note to be sent.thumbnail- Video thumbnail; pass null to skip thumbnail uploading.duration- Duration of the video, in seconds.length- Video width and height; must be positive and not greater than 640.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-