Class TdApi.InputPaidMediaTypeVideo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputPaidMediaType
dev.voroby.springframework.telegram.client.TdApi.InputPaidMediaTypeVideo
- Enclosing class:
- TdApi
The media is a video.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Duration of the video, in seconds.boolean
True, if the video is supposed to be streamed. -
Constructor Summary
ConstructorDescriptionThe media is a video.InputPaidMediaTypeVideo
(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 dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
duration
public int durationDuration of the video, in seconds. -
supportsStreaming
public boolean supportsStreamingTrue, if the video is supposed 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(int duration, boolean supportsStreaming) The media is a video.- Parameters:
duration
- Duration of the video, in seconds.supportsStreaming
- True, if the video is supposed 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
-