<h1title="Uses of Class it.tdlight.jni.TdApi.Location"class="title">Uses of Class<br>it.tdlight.jni.TdApi.Location</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a></span></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="col">Field</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color">
<tdclass="col-first"><code><ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a></code></td>
<divclass="block">User location; may be null.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a></span></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Constructor</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatLocation.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location,java.lang.String)">ChatLocation</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> address)</code></th>
<tdclass="col-last">
<divclass="block">Represents a location to which a chat is connected.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.EditInlineMessageLiveLocation.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.ReplyMarkup,it.tdlight.jni.TdApi.Location,int,int)">EditInlineMessageLiveLocation</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> inlineMessageId,
<ahref="../TdApi.ReplyMarkup.html"title="class in it.tdlight.jni">TdApi.ReplyMarkup</a> replyMarkup,
<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
int heading,
int proximityAlertRadius)</code></th>
<tdclass="col-last">
<divclass="block">Edits the content of a live location
<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> userLocation,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> query,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> offset)</code></th>
<tdclass="col-last">
<divclass="block">Sends an inline query to a bot and
returns its results.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.GetMapThumbnailFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location,int,int,int,int,long)">GetMapThumbnailFile</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
int zoom,
int width,
int height,
int scale,
long chatId)</code></th>
<tdclass="col-last">
<divclass="block">Returns information about a file with
a map thumbnail in PNG format.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.InlineQueryResultLocation.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.Location,java.lang.String,it.tdlight.jni.TdApi.Thumbnail)">InlineQueryResultLocation</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> id,
<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.Thumbnail.html"title="class in it.tdlight.jni">TdApi.Thumbnail</a> thumbnail)</code></th>
<tdclass="col-last">
<divclass="block">Represents a point on the map.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.InputInlineQueryResultLocation.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.Location,int,java.lang.String,java.lang.String,int,int,it.tdlight.jni.TdApi.ReplyMarkup,it.tdlight.jni.TdApi.InputMessageContent)">InputInlineQueryResultLocation</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> id,
<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
int livePeriod,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> thumbnailUrl,
int thumbnailWidth,
int thumbnailHeight,
<ahref="../TdApi.ReplyMarkup.html"title="class in it.tdlight.jni">TdApi.ReplyMarkup</a> replyMarkup,
<ahref="../TdApi.InputMessageContent.html"title="class in it.tdlight.jni">TdApi.InputMessageContent</a> inputMessageContent)</code></th>
<tdclass="col-last">
<divclass="block">Represents a point on the map.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.InputMessageLocation.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location,int,int,int)">InputMessageLocation</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
int livePeriod,
int heading,
int proximityAlertRadius)</code></th>
<tdclass="col-last">
<divclass="block">A message with a location.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageLocation.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location,int,int,int,int)">MessageLocation</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
int livePeriod,
int expiresIn,
int heading,
int proximityAlertRadius)</code></th>
<tdclass="col-last">
<divclass="block">A message with a location.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.PageBlockMap.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location,int,int,int,it.tdlight.jni.TdApi.PageBlockCaption)">PageBlockMap</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
int zoom,
int width,
int height,
<ahref="../TdApi.PageBlockCaption.html"title="class in it.tdlight.jni">TdApi.PageBlockCaption</a> caption)</code></th>
<tdclass="col-last">
<divclass="block">A map.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchChatsNearby.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location)">SearchChatsNearby</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location)</code></th>
<tdclass="col-last">
<divclass="block">Returns a list of users and location-based
supergroups nearby.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SetLocation.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location)">SetLocation</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location)</code></th>
<tdclass="col-last">
<divclass="block">Changes the location of the current
<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> userLocation,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> query,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> resultId,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> inlineMessageId)</code></th>
<tdclass="col-last">
<divclass="block">The user has chosen a result of an
<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> userLocation,
<ahref="../TdApi.ChatType.html"title="class in it.tdlight.jni">TdApi.ChatType</a> chatType,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> query,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> offset)</code></th>
<tdclass="col-last">
<divclass="block">A new incoming inline query; for bots only.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.Venue.html#%3Cinit%3E(it.tdlight.jni.TdApi.Location,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)">Venue</a></span>​(<ahref="../TdApi.Location.html"title="class in it.tdlight.jni">TdApi.Location</a> location,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> address,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> provider,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> id,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> type)</code></th>