public static class TdApi.InputMessageVideo extends TdApi.InputMessageContent
TdApi.InputMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
int[] |
addedStickerFileIds
File identifiers of the stickers added to the video, if applicable.
|
TdApi.FormattedText |
caption
Video caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
duration
Duration of the video, in seconds.
|
int |
height
Video height.
|
boolean |
supportsStreaming
True, if the video is supposed to be streamed.
|
TdApi.InputThumbnail |
thumbnail
Video thumbnail; pass null to skip thumbnail uploading.
|
int |
ttl
Video TTL (Time To Live), in seconds (0-60).
|
TdApi.InputFile |
video
Video to be sent.
|
int |
width
Video width.
|
Constructor and Description |
---|
InputMessageVideo()
A video message.
|
InputMessageVideo(TdApi.InputFile video,
TdApi.InputThumbnail thumbnail,
int[] addedStickerFileIds,
int duration,
int width,
int height,
boolean supportsStreaming,
TdApi.FormattedText caption,
int ttl)
A video message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.InputFile video
public TdApi.InputThumbnail thumbnail
public int[] addedStickerFileIds
public int duration
public int width
public int height
public boolean supportsStreaming
public TdApi.FormattedText caption
public int ttl
public static final int CONSTRUCTOR
public InputMessageVideo()
public InputMessageVideo(TdApi.InputFile video, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int duration, int width, int height, boolean supportsStreaming, TdApi.FormattedText caption, int ttl)
video
- Video to be sent.thumbnail
- Video thumbnail; pass null to skip thumbnail uploading.addedStickerFileIds
- File identifiers of the stickers added to the video, if applicable.duration
- Duration of the video, in seconds.width
- Video width.height
- Video height.supportsStreaming
- True, if the video is supposed to be streamed.caption
- Video caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.ttl
- Video TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats.public int getConstructor()
getConstructor
in class TdApi.InputMessageContent