public class InputMediaAudio extends InputMedia
| Constructor and Description |
|---|
InputMediaAudio(java.lang.String media,
UploadFile thumbnail,
Text caption)
Constructs an input media audio.
|
InputMediaAudio(java.lang.String media,
UploadFile thumbnail,
Text caption,
java.lang.Integer duration,
java.lang.String performer,
java.lang.String title)
Constructs an input media audio.
|
InputMediaAudio(UploadFile media,
UploadFile thumbnail,
Text caption)
Constructs an input media audio.
|
InputMediaAudio(UploadFile media,
UploadFile thumbnail,
Text caption,
java.lang.Integer duration,
java.lang.String performer,
java.lang.String title)
Constructs an input media audio.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getDuration()
Getter for property
duration. |
java.lang.String |
getPerformer()
Getter for property
performer. |
java.lang.String |
getTitle()
Getter for property
title. |
getCaption, getFile, getMedia, getThumbnailpublic InputMediaAudio(java.lang.String media,
UploadFile thumbnail,
Text caption,
java.lang.Integer duration,
java.lang.String performer,
java.lang.String title)
media - file to sendthumbnail - thumbnail of the file sentcaption - caption of the file to be sent, 0-200 charactersduration - duration of the audioperformer - performer of the audiotitle - title of the audiopublic InputMediaAudio(UploadFile media, UploadFile thumbnail, Text caption, java.lang.Integer duration, java.lang.String performer, java.lang.String title)
media - file to sendthumbnail - thumbnail of the file sentcaption - caption of the file to be sent, 0-200 charactersduration - duration of the audioperformer - performer of the audiotitle - title of the audiopublic InputMediaAudio(java.lang.String media,
UploadFile thumbnail,
Text caption)
media - file to sendthumbnail - thumbnail of the file sentcaption - caption of the file to be sent, 0-200 characterspublic InputMediaAudio(UploadFile media, UploadFile thumbnail, Text caption)
media - file to sendthumbnail - thumbnail of the file sentcaption - caption of the file to be sent, 0-200 characters