| Package | Description |
|---|---|
| org.telegram.telegrambots.api.methods.send | |
| org.telegram.telegrambots.bots |
| Modifier and Type | Method and Description |
|---|---|
SendVoice |
SendVoice.disableNotification() |
SendVoice |
SendVoice.enableNotification() |
SendVoice |
SendVoice.setCaption(String caption) |
SendVoice |
SendVoice.setChatId(Long chatId) |
SendVoice |
SendVoice.setChatId(String chatId) |
SendVoice |
SendVoice.setDuration(Integer duration) |
SendVoice |
SendVoice.setNewVoice(File file) |
SendVoice |
SendVoice.setNewVoice(String voiceName,
InputStream inputStream) |
SendVoice |
SendVoice.setParseMode(String parseMode) |
SendVoice |
SendVoice.setReplyMarkup(ReplyKeyboard replyMarkup) |
SendVoice |
SendVoice.setReplyToMessageId(Integer replyToMessageId) |
SendVoice |
SendVoice.setVoice(String voice) |
| Modifier and Type | Method and Description |
|---|---|
abstract Message |
AbsSender.sendVoice(SendVoice sendVoice)
Sends a voice note using Send Voice method (https://core.telegram.org/bots/api#sendvoice)
For this to work, your audio must be in an .ogg file encoded with OPUS
|
Copyright © 2018. All rights reserved.