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