Class SendAudio.SendAudioBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendAudio.SendAudioBuilder
-
- Enclosing class:
- SendAudio
public static class SendAudio.SendAudioBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendAudio.SendAudioBuilder
audio(InputFile audio)
SendAudio
build()
SendAudio.SendAudioBuilder
callback(java.util.function.Consumer<AudioMessage> callback)
SendAudio.SendAudioBuilder
caption(java.lang.String caption)
SendAudio.SendAudioBuilder
chatId(ChatId chatId)
SendAudio.SendAudioBuilder
disableNotification(java.lang.Boolean disableNotification)
SendAudio.SendAudioBuilder
duration(java.lang.Integer duration)
SendAudio.SendAudioBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendAudio.SendAudioBuilder
parseMode(ParseMode parseMode)
SendAudio.SendAudioBuilder
replyMarkup(ReplyMarkup replyMarkup)
SendAudio.SendAudioBuilder
replyToMessageID(java.lang.Integer replyToMessageID)
SendAudio.SendAudioBuilder
title(java.lang.String title)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public SendAudio.SendAudioBuilder callback(java.util.function.Consumer<AudioMessage> callback)
-
errorHandler
public SendAudio.SendAudioBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendAudio.SendAudioBuilder chatId(ChatId chatId)
-
replyToMessageID
public SendAudio.SendAudioBuilder replyToMessageID(java.lang.Integer replyToMessageID)
-
disableNotification
public SendAudio.SendAudioBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendAudio.SendAudioBuilder replyMarkup(ReplyMarkup replyMarkup)
-
audio
public SendAudio.SendAudioBuilder audio(InputFile audio)
-
caption
public SendAudio.SendAudioBuilder caption(java.lang.String caption)
-
duration
public SendAudio.SendAudioBuilder duration(java.lang.Integer duration)
-
title
public SendAudio.SendAudioBuilder title(java.lang.String title)
-
parseMode
public SendAudio.SendAudioBuilder parseMode(ParseMode parseMode)
-
build
public SendAudio build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-