public class EditMessageLiveLocation extends BotApiMethod<Serializable>
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH |
METHOD_FIELDOBJECT_MAPPER| Constructor and Description |
|---|
EditMessageLiveLocation() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
deserializeResponse(String answer)
Deserialize a json answer to the response type to a method
|
String |
getChatId() |
String |
getInlineMessageId() |
Float |
getLatitude() |
Float |
getLongitud() |
Integer |
getMessageId() |
String |
getMethod()
Getter for method path (that is the same as method name)
|
InlineKeyboardMarkup |
getReplyMarkup() |
EditMessageLiveLocation |
setChatId(Long chatId) |
EditMessageLiveLocation |
setChatId(String chatId) |
EditMessageLiveLocation |
setInlineMessageId(String inlineMessageId) |
EditMessageLiveLocation |
setLatitude(Float latitude) |
EditMessageLiveLocation |
setLongitud(Float longitud) |
EditMessageLiveLocation |
setMessageId(Integer messageId) |
EditMessageLiveLocation |
setReplyMarkup(InlineKeyboardMarkup replyMarkup) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public static final String PATH
public String getChatId()
public EditMessageLiveLocation setChatId(String chatId)
public EditMessageLiveLocation setChatId(Long chatId)
public Integer getMessageId()
public EditMessageLiveLocation setMessageId(Integer messageId)
public String getInlineMessageId()
public EditMessageLiveLocation setInlineMessageId(String inlineMessageId)
public InlineKeyboardMarkup getReplyMarkup()
public EditMessageLiveLocation setReplyMarkup(InlineKeyboardMarkup replyMarkup)
public Float getLatitude()
public EditMessageLiveLocation setLatitude(Float latitude)
public Float getLongitud()
public EditMessageLiveLocation setLongitud(Float longitud)
public String getMethod()
BotApiMethodgetMethod in class BotApiMethod<Serializable>public Serializable deserializeResponse(String answer) throws TelegramApiRequestException
PartialBotApiMethoddeserializeResponse in class PartialBotApiMethod<Serializable>answer - Json answer receivedTelegramApiRequestExceptionpublic void validate()
throws TelegramApiValidationException
ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2018. All rights reserved.