public class SendVenue extends BotApiMethod<Message>
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH |
METHOD_FIELDOBJECT_MAPPER| Constructor and Description |
|---|
SendVenue() |
public static final String PATH
public String getChatId()
public Float getLatitude()
public Float getLongitude()
public Integer getReplyToMessageId()
public ReplyKeyboard getReplyMarkup()
public SendVenue setReplyMarkup(ReplyKeyboard replyMarkup)
public Boolean getDisableNotification()
public SendVenue enableNotification()
public SendVenue disableNotification()
public String getTitle()
public String getAddress()
public String getFoursquareId()
public String getMethod()
BotApiMethodgetMethod in class BotApiMethod<Message>public Message deserializeResponse(String answer) throws TelegramApiRequestException
PartialBotApiMethoddeserializeResponse in class PartialBotApiMethod<Message>answer - Json answer receivedTelegramApiRequestExceptionpublic void validate()
throws TelegramApiValidationException
ValidableTelegramApiValidationException - If any mandatory field is emptyCopyright © 2016. All rights reserved.