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 int
Identifier uniquely determining type of the object.Cover of the video; pass null to skip cover uploading.int
Duration of the video, in seconds.int
Timestamp from which the video playing must start, in seconds.boolean
True, 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 TypeMethodDescriptionint
Returns 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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-