public static class TdApi.InputInlineQueryResultLocation extends TdApi.InputInlineQueryResult
TdApi.InputInlineQueryResult.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
id
Unique identifier of the query result.
|
TdApi.InputMessageContent |
inputMessageContent
The content of the message to be sent.
|
int |
livePeriod
Amount of time relative to the message sent time until the location can be updated, in seconds.
|
TdApi.Location |
location
Location result.
|
TdApi.ReplyMarkup |
replyMarkup
The message reply markup; pass null if none.
|
int |
thumbnailHeight
Thumbnail height, if known.
|
java.lang.String |
thumbnailUrl
URL of the result thumbnail, if it exists.
|
int |
thumbnailWidth
Thumbnail width, if known.
|
java.lang.String |
title
Title of the result.
|
Constructor and Description |
---|
InputInlineQueryResultLocation()
Represents a point on the map.
|
InputInlineQueryResultLocation(java.lang.String id,
TdApi.Location location,
int livePeriod,
java.lang.String title,
java.lang.String thumbnailUrl,
int thumbnailWidth,
int thumbnailHeight,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Represents a point on the map.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public TdApi.Location location
public int livePeriod
public java.lang.String title
public java.lang.String thumbnailUrl
public int thumbnailWidth
public int thumbnailHeight
public TdApi.ReplyMarkup replyMarkup
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public InputInlineQueryResultLocation()
public InputInlineQueryResultLocation(java.lang.String id, TdApi.Location location, int livePeriod, java.lang.String title, java.lang.String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)
id
- Unique identifier of the query result.location
- Location result.livePeriod
- Amount of time relative to the message sent time until the location can be updated, in seconds.title
- Title of the result.thumbnailUrl
- URL of the result thumbnail, if it exists.thumbnailWidth
- Thumbnail width, if known.thumbnailHeight
- Thumbnail height, if known.replyMarkup
- The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.inputMessageContent
- The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.public int getConstructor()
getConstructor
in class TdApi.InputInlineQueryResult