public class StopMessageLiveLocation extends BotApiMethod<Serializable>
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH |
METHOD_FIELDOBJECT_MAPPER| Constructor and Description |
|---|
StopMessageLiveLocation() |
| 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() |
Integer |
getMessageId() |
String |
getMethod()
Getter for method path (that is the same as method name)
|
InlineKeyboardMarkup |
getReplyMarkup() |
StopMessageLiveLocation |
setChatId(Long chatId) |
StopMessageLiveLocation |
setChatId(String chatId) |
StopMessageLiveLocation |
setInlineMessageId(String inlineMessageId) |
StopMessageLiveLocation |
setMessageId(Integer messageId) |
StopMessageLiveLocation |
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 StopMessageLiveLocation setChatId(String chatId)
public StopMessageLiveLocation setChatId(Long chatId)
public Integer getMessageId()
public StopMessageLiveLocation setMessageId(Integer messageId)
public String getInlineMessageId()
public StopMessageLiveLocation setInlineMessageId(String inlineMessageId)
public InlineKeyboardMarkup getReplyMarkup()
public StopMessageLiveLocation setReplyMarkup(InlineKeyboardMarkup replyMarkup)
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 © 2019. All rights reserved.