Package org.drinkless.tdlib
Class TdApi.DraftMessageContentVideoNote
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.DraftMessageContent
org.drinkless.tdlib.TdApi.DraftMessageContentVideoNote
- Enclosing class:
- TdApi
A video note message draft.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intDuration of the video, in seconds; 0-60.Path to the file with the video note.intVideo width and height; must be positive and not greater than 640.Video note self-destruct type; may be null if none; pass null if none; private chats only. -
Constructor Summary
ConstructorsConstructorDescriptionA video note message draft.DraftMessageContentVideoNote(String filePath, int duration, int length, TdApi.MessageSelfDestructType selfDestructType) A video note message draft. -
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
-
filePath
Path to the file with the video note. -
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. -
selfDestructType
Video note self-destruct type; may be null if none; pass null if none; private chats only. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DraftMessageContentVideoNote
public DraftMessageContentVideoNote()A video note message draft. -
DraftMessageContentVideoNote
public DraftMessageContentVideoNote(String filePath, int duration, int length, TdApi.MessageSelfDestructType selfDestructType) A video note message draft.- Parameters:
filePath- Path to the file with the video note.duration- Duration of the video, in seconds; 0-60.length- Video width and height; must be positive and not greater than 640.selfDestructType- Video note self-destruct type; may be null if none; pass null if none; private chats only.
-
-
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
-