Class SendVideoNote.SendVideoNoteBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendVideoNote.SendVideoNoteBuilder
-
- Enclosing class:
- SendVideoNote
public static class SendVideoNote.SendVideoNoteBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendVideoNote
build()
SendVideoNote.SendVideoNoteBuilder
callback(java.util.function.Consumer<VideoNote> callback)
SendVideoNote.SendVideoNoteBuilder
chatId(ChatId chatId)
SendVideoNote.SendVideoNoteBuilder
disableNotification(java.lang.Boolean disableNotification)
SendVideoNote.SendVideoNoteBuilder
duration(java.lang.Integer duration)
SendVideoNote.SendVideoNoteBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendVideoNote.SendVideoNoteBuilder
length(java.lang.Integer length)
SendVideoNote.SendVideoNoteBuilder
replyMarkup(ReplyMarkup replyMarkup)
SendVideoNote.SendVideoNoteBuilder
replyToMessageId(java.lang.Integer replyToMessageId)
java.lang.String
toString()
SendVideoNote.SendVideoNoteBuilder
videoNote(InputFile videoNote)
-
-
-
Method Detail
-
callback
public SendVideoNote.SendVideoNoteBuilder callback(java.util.function.Consumer<VideoNote> callback)
-
errorHandler
public SendVideoNote.SendVideoNoteBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendVideoNote.SendVideoNoteBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendVideoNote.SendVideoNoteBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendVideoNote.SendVideoNoteBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendVideoNote.SendVideoNoteBuilder replyMarkup(ReplyMarkup replyMarkup)
-
videoNote
public SendVideoNote.SendVideoNoteBuilder videoNote(InputFile videoNote)
-
duration
public SendVideoNote.SendVideoNoteBuilder duration(java.lang.Integer duration)
-
length
public SendVideoNote.SendVideoNoteBuilder length(java.lang.Integer length)
-
build
public SendVideoNote build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-