public class EditMessageReplyMarkup extends BotApiMethod<Serializable>
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH |
METHOD_FIELDOBJECT_MAPPER| Constructor and Description |
|---|
EditMessageReplyMarkup() |
| 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() |
EditMessageReplyMarkup |
setChatId(Long chatId) |
EditMessageReplyMarkup |
setChatId(String chatId) |
EditMessageReplyMarkup |
setInlineMessageId(String inlineMessageId) |
EditMessageReplyMarkup |
setMessageId(Integer messageId) |
EditMessageReplyMarkup |
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 EditMessageReplyMarkup setChatId(String chatId)
public EditMessageReplyMarkup setChatId(Long chatId)
public Integer getMessageId()
public EditMessageReplyMarkup setMessageId(Integer messageId)
public String getInlineMessageId()
public EditMessageReplyMarkup setInlineMessageId(String inlineMessageId)
public InlineKeyboardMarkup getReplyMarkup()
public EditMessageReplyMarkup 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.