public class SendVideo extends java.lang.Object implements TelegramMethod<VideoMessage>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
SendVideo() |
| Modifier and Type | Method and Description |
|---|---|
SendVideo |
caption(java.lang.String caption) |
SendVideo |
caption(Text caption) |
SendVideo |
chat(Chat chat) |
SendVideo |
chat(java.lang.Long chatId) |
SendVideo |
chat(java.lang.String chatUsername) |
SendVideo |
disableNotification() |
SendVideo |
disableNotification(java.lang.Boolean disableNotification) |
SendVideo |
duration(java.lang.Integer duration) |
java.util.Map<java.lang.String,UploadFile> |
getFiles()
Return the file parameters of the method.
|
java.lang.String |
getName()
Returns the name of the method.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Return the parameters of the method.
|
java.lang.Class<? extends VideoMessage> |
getReturnType()
Returns the return type of the method.
|
SendVideo |
height(java.lang.Integer height) |
SendVideo |
replyMarkup(ReplyMarkup replyMarkup) |
SendVideo |
replyToMessage(java.lang.Long replyToMessageId) |
SendVideo |
replyToMessage(Message message) |
SendVideo |
size(java.lang.Integer width,
java.lang.Integer height) |
SendVideo |
video(java.lang.String video) |
SendVideo |
video(UploadFile newVideo) |
SendVideo |
width(java.lang.Integer width) |
public static final java.lang.String NAME
public SendVideo chat(java.lang.String chatUsername)
public SendVideo chat(java.lang.Long chatId)
public SendVideo disableNotification(java.lang.Boolean disableNotification)
public SendVideo disableNotification()
public SendVideo replyToMessage(java.lang.Long replyToMessageId)
public SendVideo replyMarkup(ReplyMarkup replyMarkup)
public SendVideo video(java.lang.String video)
public SendVideo video(UploadFile newVideo)
public SendVideo caption(java.lang.String caption)
public SendVideo duration(java.lang.Integer duration)
public SendVideo width(java.lang.Integer width)
public SendVideo height(java.lang.Integer height)
public SendVideo size(java.lang.Integer width, java.lang.Integer height)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<VideoMessage>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<VideoMessage>public java.util.Map<java.lang.String,UploadFile> getFiles()
TelegramMethodgetFiles in interface TelegramMethod<VideoMessage>public java.lang.Class<? extends VideoMessage> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<VideoMessage>