public static class TdApi.InputMessageVideoNote extends TdApi.InputMessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
duration
Duration of the video, in seconds; 0-60.
|
int |
length
Video width and height; must be positive and not greater than 640.
|
TdApi.MessageSelfDestructType |
selfDestructType
Video note self-destruct type; may be null if none; pass null if none; private chats only.
|
TdApi.InputThumbnail |
thumbnail
Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.
|
TdApi.InputFile |
videoNote
Video note to be sent.
|
| Constructor and Description |
|---|
InputMessageVideoNote()
A video note message.
|
InputMessageVideoNote(TdApi.InputFile videoNote,
TdApi.InputThumbnail thumbnail,
int duration,
int length,
TdApi.MessageSelfDestructType selfDestructType)
A video note message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InputFile videoNote
public TdApi.InputThumbnail thumbnail
public int duration
public int length
public TdApi.MessageSelfDestructType selfDestructType
public static final int CONSTRUCTOR
public InputMessageVideoNote()
public InputMessageVideoNote(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length, TdApi.MessageSelfDestructType selfDestructType)
videoNote - Video note 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.selfDestructType - Video note self-destruct type; may be null if none; pass null if none; private chats only.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object