Package com.pengrad.telegrambot.request
Class SendVideo
java.lang.Object
com.pengrad.telegrambot.request.BaseRequest<T,SendResponse>
com.pengrad.telegrambot.request.AbstractSendRequest<T>
com.pengrad.telegrambot.request.AbstractMultipartRequest<SendVideo>
com.pengrad.telegrambot.request.SendVideo
public class SendVideo extends AbstractMultipartRequest<SendVideo>
stas
5/1/16.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description SendVideo
caption(java.lang.String caption)
SendVideo
captionEntities(MessageEntity... entities)
SendVideo
duration(int duration)
java.lang.String
getDefaultContentType()
java.lang.String
getDefaultFileName()
protected java.lang.String
getFileParamName()
SendVideo
height(int height)
SendVideo
parseMode(ParseMode parseMode)
SendVideo
supportsStreaming(boolean supportsStreaming)
SendVideo
thumb(byte[] thumb)
SendVideo
thumb(java.io.File thumb)
SendVideo
width(int width)
Methods inherited from class com.pengrad.telegrambot.request.AbstractMultipartRequest
contentType, fileName, getContentType, getFileName, isMultipart, thumb
Methods inherited from class com.pengrad.telegrambot.request.AbstractSendRequest
allowSendingWithoutReply, disableNotification, messageThreadId, protectContent, replyMarkup, replyToMessageId
Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getMethod, getParameters, getResponseType, getTimeoutSeconds, toWebhookResponse
-
Constructor Details
-
Method Details
-
duration
-
width
-
height
-
thumb
-
thumb
-
caption
-
parseMode
-
captionEntities
-
supportsStreaming
-
getFileParamName
protected java.lang.String getFileParamName()- Specified by:
getFileParamName
in classAbstractMultipartRequest<SendVideo>
-
getDefaultFileName
public java.lang.String getDefaultFileName()- Specified by:
getDefaultFileName
in classAbstractMultipartRequest<SendVideo>
-
getDefaultContentType
public java.lang.String getDefaultContentType()- Specified by:
getDefaultContentType
in classAbstractMultipartRequest<SendVideo>
-