public class SendVoice extends AbstractMultipartRequest<SendVoice>
| Constructor and Description |
|---|
SendVoice(java.lang.Object chatId,
java.lang.Object voice,
boolean isMultipart) |
| Modifier and Type | Method and Description |
|---|---|
SendVoice |
duration(int duration) |
java.lang.String |
getContentType() |
java.lang.String |
getFileName() |
isMultipartdisableNotification, replyMarkup, replyToMessageIdadd, getMethod, getParameters, getResponseTypepublic SendVoice(java.lang.Object chatId,
java.lang.Object voice,
boolean isMultipart)
public SendVoice duration(int duration)
public java.lang.String getFileName()
getFileName in class AbstractMultipartRequest<SendVoice>public java.lang.String getContentType()
getContentType in class AbstractMultipartRequest<SendVoice>