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 SendVideo
caption(java.lang.String caption)
SendVideo
captionEntities(MessageEntity... entities)
SendVideo
duration(int duration)
java.lang.String
getContentType()
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
fileName, getFileName, isMultipart, thumb
-
Methods inherited from class com.pengrad.telegrambot.request.AbstractSendRequest
allowSendingWithoutReply, disableNotification, replyMarkup, replyToMessageId
-
Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getMethod, getParameters, getResponseType, getTimeoutSeconds, 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)
-
captionEntities
public SendVideo captionEntities(MessageEntity... entities)
-
supportsStreaming
public SendVideo supportsStreaming(boolean 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>
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in classAbstractMultipartRequest<SendVideo>
-
-