Class SendAnimation.SendAnimationBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendAnimation.SendAnimationBuilder
-
- Enclosing class:
- SendAnimation
public static class SendAnimation.SendAnimationBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
callback
public SendAnimation.SendAnimationBuilder callback(java.util.function.Consumer<AnimationMessage> callback)
-
errorHandler
public SendAnimation.SendAnimationBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendAnimation.SendAnimationBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendAnimation.SendAnimationBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendAnimation.SendAnimationBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendAnimation.SendAnimationBuilder replyMarkup(ReplyMarkup replyMarkup)
-
animation
public SendAnimation.SendAnimationBuilder animation(InputFile animation)
-
thumbnail
public SendAnimation.SendAnimationBuilder thumbnail(LocalInputFile thumbnail)
-
duration
public SendAnimation.SendAnimationBuilder duration(java.lang.Long duration)
-
width
public SendAnimation.SendAnimationBuilder width(java.lang.Integer width)
-
height
public SendAnimation.SendAnimationBuilder height(java.lang.Integer height)
-
caption
public SendAnimation.SendAnimationBuilder caption(java.lang.String caption)
-
parseMode
public SendAnimation.SendAnimationBuilder parseMode(ParseMode parseMode)
-
build
public SendAnimation build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-