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