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