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