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
-
Fields inherited from class com.pengrad.telegrambot.request.BaseRequest
thisAsT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendVideocaption(java.lang.String caption)SendVideoduration(int duration)java.lang.StringgetContentType()java.lang.StringgetDefaultFileName()protected java.lang.StringgetFileParamName()SendVideoheight(int height)SendVideoparseMode(ParseMode parseMode)SendVideosupportsStreaming(boolean supportsStreaming)SendVideothumb(byte[] thumb)SendVideothumb(java.io.File thumb)SendVideowidth(int width)-
Methods inherited from class com.pengrad.telegrambot.request.AbstractMultipartRequest
fileName, getFileName, isMultipart, thumb
-
Methods inherited from class com.pengrad.telegrambot.request.AbstractSendRequest
disableNotification, replyMarkup, replyToMessageId
-
Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getMethod, getParameters, getResponseType, getTimeoutSeconds, serialize, toWebhookResponse
-
-
-
-
Method Detail
-
duration
public SendVideo duration(int duration)
-
width
public SendVideo width(int width)
-
height
public SendVideo height(int height)
-
thumb
public SendVideo thumb(byte[] thumb)
-
thumb
public SendVideo thumb(java.io.File thumb)
-
caption
public SendVideo caption(java.lang.String caption)
-
supportsStreaming
public SendVideo supportsStreaming(boolean supportsStreaming)
-
getFileParamName
protected java.lang.String getFileParamName()
- Specified by:
getFileParamNamein classAbstractMultipartRequest<SendVideo>
-
getDefaultFileName
public java.lang.String getDefaultFileName()
- Specified by:
getDefaultFileNamein classAbstractMultipartRequest<SendVideo>
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentTypein classAbstractMultipartRequest<SendVideo>
-
-