Package org.drinkless.tdlib
Class TdApi.InputPaidMediaTypeVideo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputPaidMediaType
org.drinkless.tdlib.TdApi.InputPaidMediaTypeVideo
- Enclosing class:
- TdApi
The media is a video.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Cover of the video; pass null to skip cover uploading.intDuration of the video, in seconds.intTimestamp from which the video playing must start, in seconds.booleanTrue, if the video is expected to be streamed. -
Constructor Summary
ConstructorsConstructorDescriptionThe media is a video.InputPaidMediaTypeVideo(TdApi.InputFile cover, int startTimestamp, int duration, boolean supportsStreaming) The media is a video. -
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
-
cover
Cover of the video; pass null to skip cover uploading. -
startTimestamp
public int startTimestampTimestamp from which the video playing must start, in seconds. -
duration
public int durationDuration of the video, in seconds. -
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
-
InputPaidMediaTypeVideo
public InputPaidMediaTypeVideo()The media is a video. -
InputPaidMediaTypeVideo
public InputPaidMediaTypeVideo(TdApi.InputFile cover, int startTimestamp, int duration, boolean supportsStreaming) The media is a video.- Parameters:
cover- Cover of the video; pass null to skip cover uploading.startTimestamp- Timestamp from which the video playing must start, in seconds.duration- Duration of the video, in seconds.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
-