public class InputMediaAudio extends InputMedia
| Constructor and Description |
|---|
InputMediaAudio() |
InputMediaAudio(String media,
String caption,
String parseMode,
Integer duration,
String performer,
String title)
Builds
InputMediaAudio instance. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDuration() |
String |
getPerformer() |
String |
getTitle() |
void |
setDuration(Integer duration) |
void |
setPerformer(String performer) |
void |
setTitle(String title) |
getCaption, getMedia, getParseMode, getType, setCaption, setMedia, setParseMode, setTypepublic InputMediaAudio(String media, String caption, String parseMode, Integer duration, String performer, String title)
InputMediaAudio 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.duration - Optional. width.performer - Optional. performer.title - Optional. title.public InputMediaAudio()
Apache Camel