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 SendVideocaption(java.lang.String caption)SendVideocaptionEntities(MessageEntity... entities)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, thumbMethods inherited from class com.pengrad.telegrambot.request.AbstractSendRequest
allowSendingWithoutReply, disableNotification, protectContent, replyMarkup, replyToMessageIdMethods 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:
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>
-