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