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.StringgetDefaultContentType()java.lang.StringgetDefaultFileName()protected java.lang.StringgetFileParamName()SendVideohasSpoiler(boolean has_spoiler)SendVideoheight(int height)SendVideoparseMode(ParseMode parseMode)SendVideoshowCaptionAboveMedia(java.lang.Boolean showCaptionAboveMedia)SendVideosupportsStreaming(boolean supportsStreaming)SendVideothumb(byte[] thumb)Deprecated.Use thumbnail insteadSendVideothumb(java.io.File thumb)Deprecated.Use thumbnail insteadSendVideothumbnail(byte[] thumbnail)SendVideothumbnail(java.io.File thumbnail)SendVideowidth(int width)Methods inherited from class com.pengrad.telegrambot.request.AbstractMultipartRequest
contentType, fileName, getContentType, getFileName, isMultipart, thumbnailMethods inherited from class com.pengrad.telegrambot.request.AbstractSendRequest
allowSendingWithoutReply, businessConnectionId, disableNotification, messageEffectId, messageThreadId, protectContent, replyMarkup, replyParameters, replyToMessageIdMethods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getMethod, getParameters, getResponseType, getTimeoutSeconds, toWebhookResponse
-
Constructor Details
-
Method Details
-
duration
-
width
-
height
-
thumb
Deprecated.Use thumbnail instead -
thumb
Deprecated.Use thumbnail instead -
thumbnail
-
thumbnail
-
caption
-
parseMode
-
captionEntities
-
supportsStreaming
-
hasSpoiler
-
showCaptionAboveMedia
-
getFileParamName
protected java.lang.String getFileParamName()- Specified by:
getFileParamNamein classAbstractMultipartRequest<SendVideo>
-
getDefaultFileName
public java.lang.String getDefaultFileName()- Specified by:
getDefaultFileNamein classAbstractMultipartRequest<SendVideo>
-
getDefaultContentType
public java.lang.String getDefaultContentType()- Specified by:
getDefaultContentTypein classAbstractMultipartRequest<SendVideo>
-