Class InputMediaVideo
java.lang.Object
io.micronaut.chatbots.telegram.api.InputMedia
io.micronaut.chatbots.telegram.api.InputMediaDocument
io.micronaut.chatbots.telegram.api.InputMediaVideo
Represents a video to be sent.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Integer
@Nullable Integer
@Nullable Boolean
@Nullable Integer
getWidth()
void
setDuration
(@Nullable Integer duration) void
void
setSupportsStreaming
(@Nullable Boolean supportsStreaming) void
toString()
Methods inherited from class io.micronaut.chatbots.telegram.api.InputMediaDocument
getDisableContentTypeDetection, getThumb, setDisableContentTypeDetection, setThumb
Methods inherited from class io.micronaut.chatbots.telegram.api.InputMedia
getCaption, getCaptionEntities, getMedia, getParseMode, getType, setCaption, setCaptionEntities, setMedia, setParseMode, setType
-
Constructor Details
-
InputMediaVideo
public InputMediaVideo()
-
-
Method Details
-
getWidth
- Returns:
- Video width
-
setWidth
- Parameters:
width
- Video width
-
getHeight
- Returns:
- Video height.
-
setHeight
- Parameters:
height
- Video height.
-
getDuration
- Returns:
- Video duration.
-
setDuration
- Parameters:
duration
- Video duration.
-
getSupportsStreaming
- Returns:
- True, if the uploaded video is suitable for streaming.
-
setSupportsStreaming
- Parameters:
supportsStreaming
- Pass True, if the uploaded video is suitable for streaming.
-
toString
- Overrides:
toString
in classInputMediaDocument
-