# Uses of Class it.tdlight.jni.TdApi.Location (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: Location

# Uses of Class
it.tdlight.jni.TdApi.Location

## Uses of TdApi.Location in it.tdlight.jni

Fields in it.tdlight.jni declared as TdApi.Location
Modifier and Type | Field | Description
--- | --- | ---
`TdApi.Location` | TdApi.ChatLocation.`location` | The location.
`TdApi.Location` | TdApi.EditInlineMessageLiveLocation.`location` | New location content of the message; pass null to stop sharing the live location.
`TdApi.Location` | TdApi.EditMessageLiveLocation.`location` | New location content of the message; pass null to stop sharing the live location.
`TdApi.Location` | TdApi.GetMapThumbnailFile.`location` | Location of the map center.
`TdApi.Location` | TdApi.InlineQueryResultLocation.`location` | Location result.
`TdApi.Location` | TdApi.InputInlineQueryResultLocation.`location` | Location result.
`TdApi.Location` | TdApi.InputMessageLocation.`location` | Location to be sent.
`TdApi.Location` | TdApi.MessageLocation.`location` | The location description.
`TdApi.Location` | TdApi.PageBlockMap.`location` | Location of the map center.
`TdApi.Location` | TdApi.SearchChatsNearby.`location` | Current user location.
`TdApi.Location` | TdApi.SetLocation.`location` | The new location of the user.
`TdApi.Location` | TdApi.Venue.`location` | Venue location; as defined by the sender.
`TdApi.Location` | TdApi.GetInlineQueryResults.`userLocation` | Location of the user; pass null if unknown or the bot doesn't need user's location.
`TdApi.Location` | TdApi.UpdateNewChosenInlineResult.`userLocation` | User location; may be null.
`TdApi.Location` | TdApi.UpdateNewInlineQuery.`userLocation` | User location; may be null.

Constructors in it.tdlight.jni with parameters of type TdApi.Location
Constructor | Description
--- | ---
`ChatLocation​(TdApi.Location location, String address)` | Represents a location to which a chat is connected.
`EditInlineMessageLiveLocation​(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.Location location, int heading, int proximityAlertRadius)` | Edits the content of a live location in an inline message sent via a bot; for bots only.
`EditMessageLiveLocation​(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup, TdApi.Location location, int heading, int proximityAlertRadius)` | Edits the message content of a live location.
`GetInlineQueryResults​(long botUserId, long chatId, TdApi.Location userLocation, String query, String offset)` | Sends an inline query to a bot and returns its results.
`GetMapThumbnailFile​(TdApi.Location location, int zoom, int width, int height, int scale, long chatId)` | Returns information about a file with a map thumbnail in PNG format.
`InlineQueryResultLocation​(String id, TdApi.Location location, String title, TdApi.Thumbnail thumbnail)` | Represents a point on the map.
`InputInlineQueryResultLocation​(String id, TdApi.Location location, int livePeriod, String title, String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)` | Represents a point on the map.
`InputMessageLocation​(TdApi.Location location, int livePeriod, int heading, int proximityAlertRadius)` | A message with a location.
`MessageLocation​(TdApi.Location location, int livePeriod, int expiresIn, int heading, int proximityAlertRadius)` | A message with a location.
`PageBlockMap​(TdApi.Location location, int zoom, int width, int height, TdApi.PageBlockCaption caption)` | A map.
`SearchChatsNearby​(TdApi.Location location)` | Returns a list of users and location-based supergroups nearby.
`SetLocation​(TdApi.Location location)` | Changes the location of the current user.
`UpdateNewChosenInlineResult​(long senderUserId, TdApi.Location userLocation, String query, String resultId, String inlineMessageId)` | The user has chosen a result of an inline query; for bots only.
`UpdateNewInlineQuery​(long id, long senderUserId, TdApi.Location userLocation, TdApi.ChatType chatType, String query, String offset)` | A new incoming inline query; for bots only.
`Venue​(TdApi.Location location, String title, String address, String provider, String id, String type)` | Describes a venue.