public final class SendMessageRequest 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 |
---|
SendMessageRequest(int chatId,
String text) |
SendMessageRequest(int chatId,
String text,
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 SendMessageRequest(int chatId, String text)
public SendMessageRequest(int chatId, String text, OptionalArgs optionalArgs)
public String getMethodName()
public co.vandenham.telegram.botapi.requests.ApiRequest.ResultTypes getResultType()
public co.vandenham.telegram.botapi.requests.ApiRequest.RequestStrategy getRequestStrategy()