Class TdApi.InputMessageVideoNote
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputMessageContent
dev.voroby.springframework.telegram.client.TdApi.InputMessageVideoNote
- Enclosing class:
- TdApi
A video note message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Duration of the video, in seconds; 0-60.int
Video 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.Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.Video note to be sent. -
Constructor Summary
ConstructorDescriptionA video note message.InputMessageVideoNote
(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length, TdApi.MessageSelfDestructType selfDestructType) A video note message. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
videoNote
Video note to be sent. -
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. -
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
-
InputMessageVideoNote
public InputMessageVideoNote()A video note message. -
InputMessageVideoNote
public InputMessageVideoNote(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length, TdApi.MessageSelfDestructType selfDestructType) A video note message.- Parameters:
videoNote
- Video note to be sent.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.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-