Package org.drinkless.tdlib
Class TdApi.InputVideo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputVideo
- Enclosing class:
- TdApi
A video to be sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]File identifiers of the stickers added to the video, if applicable.static final intIdentifier uniquely determining type of the object.Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages.intDuration of the video, in seconds.intVideo height.intTimestamp from which the video playing must start, in seconds.booleanTrue, if the video is expected to be streamed.Video thumbnail; pass null to skip thumbnail uploading.Video file to be sent.intVideo width. -
Constructor Summary
ConstructorsConstructorDescriptionA video to be sent.InputVideo(TdApi.InputFile video, TdApi.InputThumbnail thumbnail, TdApi.InputFile cover, int startTimestamp, int[] addedStickerFileIds, int duration, int width, int height, boolean supportsStreaming) A video to be sent. -
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
-
video
Video file to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender. -
thumbnail
Video thumbnail; pass null to skip thumbnail uploading. -
cover
Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages. -
startTimestamp
public int startTimestampTimestamp from which the video playing must start, in seconds. -
addedStickerFileIds
public int[] addedStickerFileIdsFile identifiers of the stickers added to the video, if applicable. -
duration
public int durationDuration of the video, in seconds. -
width
public int widthVideo width. -
height
public int heightVideo height. -
supportsStreaming
public boolean supportsStreamingTrue, if the video is expected to be streamed. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputVideo
public InputVideo()A video to be sent. -
InputVideo
public InputVideo(TdApi.InputFile video, TdApi.InputThumbnail thumbnail, TdApi.InputFile cover, int startTimestamp, int[] addedStickerFileIds, int duration, int width, int height, boolean supportsStreaming) A video to be sent.- Parameters:
video- Video file to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender.thumbnail- Video thumbnail; pass null to skip thumbnail uploading.cover- Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages.startTimestamp- Timestamp from which the video playing must start, in seconds.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 expected to be streamed.
-
-
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
-