Class InlineQueryResultVenue
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultVenue
-
- All Implemented Interfaces:
Serializable,BotApiObject,InputBotApiObject,Validable,InlineQueryResult
public class InlineQueryResultVenue extends Object implements InlineQueryResult
- Version:
- 1.0 Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InlineQueryResultVenue()
-
Method Summary
-
-
-
Method Detail
-
getType
public String getType()
-
getId
public String getId()
-
setId
public InlineQueryResultVenue setId(String id)
-
getTitle
public String getTitle()
-
setTitle
public InlineQueryResultVenue setTitle(String title)
-
getLatitude
public Float getLatitude()
-
setLatitude
public InlineQueryResultVenue setLatitude(Float latitude)
-
getLongitude
public Float getLongitude()
-
setLongitude
public InlineQueryResultVenue setLongitude(Float longitude)
-
getAddress
public String getAddress()
-
setAddress
public InlineQueryResultVenue setAddress(String address)
-
getFoursquareId
public String getFoursquareId()
-
setFoursquareId
public InlineQueryResultVenue setFoursquareId(String foursquareId)
-
getReplyMarkup
public InlineKeyboardMarkup getReplyMarkup()
-
setReplyMarkup
public InlineQueryResultVenue setReplyMarkup(InlineKeyboardMarkup replyMarkup)
-
getInputMessageContent
public InputMessageContent getInputMessageContent()
-
setInputMessageContent
public InlineQueryResultVenue setInputMessageContent(InputMessageContent inputMessageContent)
-
getThumbUrl
public String getThumbUrl()
-
setThumbUrl
public InlineQueryResultVenue setThumbUrl(String thumbUrl)
-
getThumbWidth
public Integer getThumbWidth()
-
setThumbWidth
public InlineQueryResultVenue setThumbWidth(Integer thumbWidth)
-
getThumbHeight
public Integer getThumbHeight()
-
setThumbHeight
public InlineQueryResultVenue setThumbHeight(Integer thumbHeight)
-
getFoursquareType
public String getFoursquareType()
-
setFoursquareType
public InlineQueryResultVenue setFoursquareType(String foursquareType)
-
validate
public void validate() throws TelegramApiValidationExceptionDescription copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
-