public class SendAudioRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
co.vandenham.telegram.botapi.requests.ApiRequest.GetStrategy |
static class |
co.vandenham.telegram.botapi.requests.ApiRequest.MultipartStrategy |
static class |
co.vandenham.telegram.botapi.requests.ApiRequest.PostStrategy |
static interface |
co.vandenham.telegram.botapi.requests.ApiRequest.RequestStrategy |
static class |
co.vandenham.telegram.botapi.requests.ApiRequest.ResultTypes |
Constructor and Description |
---|
SendAudioRequest(int chatId,
File audioFile) |
SendAudioRequest(int chatId,
File audioFile,
OptionalArgs optionalArgs) |
SendAudioRequest(int chatId,
String audioString) |
SendAudioRequest(int chatId,
String audioString,
OptionalArgs optionalArgs) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getArgs() |
String |
getMethodName() |
co.vandenham.telegram.botapi.requests.ApiRequest.RequestStrategy |
getRequestStrategy() |
co.vandenham.telegram.botapi.requests.ApiRequest.ResultTypes |
getResultType() |
String |
toString() |
public SendAudioRequest(int chatId, File audioFile)
public SendAudioRequest(int chatId, File audioFile, OptionalArgs optionalArgs)
public SendAudioRequest(int chatId, String audioString)
public SendAudioRequest(int chatId, String audioString, OptionalArgs optionalArgs)
public String getMethodName()
public co.vandenham.telegram.botapi.requests.ApiRequest.ResultTypes getResultType()
public co.vandenham.telegram.botapi.requests.ApiRequest.RequestStrategy getRequestStrategy()