public class InputMediaVideo extends InputMedia
| Constructor and Description |
|---|
InputMediaVideo() |
InputMediaVideo(String media,
String caption,
String parseMode,
Integer width,
Integer height,
Integer duration,
String supportsStreaming)
Builds
InputMediaVideo instance. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDuration() |
Integer |
getHeight() |
String |
getSupportsStreaming() |
Integer |
getWidth() |
void |
setDuration(Integer duration) |
void |
setHeight(Integer height) |
void |
setSupportsStreaming(String supportsStreaming) |
void |
setWidth(Integer width) |
getCaption, getMedia, getParseMode, getType, setCaption, setMedia, setParseMode, setTypepublic InputMediaVideo(String media, String caption, String parseMode, Integer width, Integer height, Integer duration, String supportsStreaming)
InputMediaVideo instance.media - File to send. Pass a file_id to send a file that exists on the Telegram servers, or pass
an HTTP URL for Telegram to get a file from the Internetcaption - Optional. Caption of the video to be sent, 0-1024 charactersparseMode - Optional. Send 'Markdown' or 'HTML', if you want Telegram apps to show bold, italic,
fixed-width text or inline URLs in the media caption.width - Optional. Video widthheight - Optional. Video heightduration - Optional. Video durationsupportsStreaming - Optional. Pass True, if the uploaded video is suitable for streamingpublic InputMediaVideo()
public Integer getWidth()
public void setWidth(Integer width)
public Integer getHeight()
public void setHeight(Integer height)
public Integer getDuration()
public void setDuration(Integer duration)
public String getSupportsStreaming()
public void setSupportsStreaming(String supportsStreaming)
Apache Camel