public class SendVideoNote extends AbstractMultipartRequest<SendVideoNote>
thisAsT| Constructor and Description |
|---|
SendVideoNote(java.lang.Object chatId,
byte[] videoNote) |
SendVideoNote(java.lang.Object chatId,
java.io.File videoNote) |
SendVideoNote(java.lang.Object chatId,
java.lang.String videoNote) |
| Modifier and Type | Method and Description |
|---|---|
SendVideoNote |
duration(int duration) |
java.lang.String |
getContentType() |
protected java.lang.String |
getDefaultFileName() |
protected java.lang.String |
getFileParamName() |
SendVideoNote |
length(int length) |
SendVideoNote |
thumb(byte[] thumb) |
SendVideoNote |
thumb(java.io.File thumb) |
fileName, getFileName, isMultipart, thumbdisableNotification, replyMarkup, replyToMessageIdadd, addAll, getMethod, getParameters, getResponseType, getTimeoutSeconds, serialize, toWebhookResponsepublic SendVideoNote(java.lang.Object chatId,
java.lang.String videoNote)
public SendVideoNote(java.lang.Object chatId,
java.io.File videoNote)
public SendVideoNote(java.lang.Object chatId,
byte[] videoNote)
public SendVideoNote duration(int duration)
public SendVideoNote length(int length)
public SendVideoNote thumb(byte[] thumb)
public SendVideoNote thumb(java.io.File thumb)
protected java.lang.String getFileParamName()
getFileParamName in class AbstractMultipartRequest<SendVideoNote>public java.lang.String getContentType()
getContentType in class AbstractMultipartRequest<SendVideoNote>protected java.lang.String getDefaultFileName()
getDefaultFileName in class AbstractMultipartRequest<SendVideoNote>