| Package | Description |
|---|---|
| pro.zackpollard.telegrambot.api.chat.message.send |
| Modifier and Type | Method and Description |
|---|---|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.audio(InputFile audio)
*Required*
Sets the audio InputFile to be sent
|
static SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.builder()
This builder will allow you to progressively construct this object.
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.caption(String caption)
*Optional*
Sets the caption to be sent with the message
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.disableNotification(boolean disableNotification)
*Optional*
Sets whether or not to disable any notification this message might usually cause.
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.duration(int duration)
*Optional*
Sets the duration of the audio file to be sent
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.performer(String performer)
*Optional*
Sets the performer of the audio file to be sent
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.replyMarkup(ReplyMarkup replyMarkup)
*Optional*
Sets the ReplyMarkup that you want to send with the message
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.replyTo(long replyTo)
*Optional*
Sets the ID of the message you want to reply to
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.title(String title)
*Optional*
Sets the title of the audio file to be sent
|
Copyright © 2017. All rights reserved.