| Package | Description |
|---|---|
| pro.zackpollard.telegrambot.api.chat.message.send | |
| pro.zackpollard.telegrambot.api.internal.chat.message.send | |
| pro.zackpollard.telegrambot.api.utils |
| Modifier and Type | Method and Description |
|---|---|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.audio(InputFile audio)
*Required*
Sets the audio InputFile to be sent
|
SendableDocumentMessage.SendableDocumentMessageBuilder |
SendableDocumentMessage.SendableDocumentMessageBuilder.document(InputFile document)
*Required*
Sets the document InputFile to be sent
|
SendablePhotoMessage.SendablePhotoMessageBuilder |
SendablePhotoMessage.SendablePhotoMessageBuilder.photo(InputFile photo)
*Required*
Sets the photo InputFile to be sent
|
SendableStickerMessage.SendableStickerMessageBuilder |
SendableStickerMessage.SendableStickerMessageBuilder.sticker(InputFile sticker)
*Required*
Sets the sticker InputFile to be sent
|
SendableVideoMessage.SendableVideoMessageBuilder |
SendableVideoMessage.SendableVideoMessageBuilder.video(InputFile video)
*Required*
Sets the video InputFile to be sent
|
SendableVoiceMessage.SendableVoiceMessageBuilder |
SendableVoiceMessage.SendableVoiceMessageBuilder.voice(InputFile voice)
*Required*
Sets the voice recording InputFile to be sent
|
| Constructor and Description |
|---|
FileContainer(InputFile inputFile) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Utils.processInputFileField(com.mashape.unirest.request.body.MultipartBody request,
String fieldName,
InputFile inputFile)
Adds an input file to a request, with the given field name.
|
Copyright © 2017. All rights reserved.