2022-05-11 18:10:43 +00:00
|
|
|
<!DOCTYPE html>
|
2021-03-21 17:26:45 +00:00
|
|
|
<html>
|
2022-05-11 18:10:43 +00:00
|
|
|
<head>
|
2021-03-21 17:26:45 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
|
|
<title>StaticLocation</title>
|
2022-05-11 18:10:43 +00:00
|
|
|
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
|
|
|
|
<script>var pathToRoot = "../../../";</script>
|
|
|
|
<script>const storage = localStorage.getItem("dokka-dark-mode")
|
2022-10-22 12:06:20 +00:00
|
|
|
if (storage == null) {
|
|
|
|
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
|
|
if (osDarkSchemePreferred === true) {
|
|
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
const savedDarkMode = JSON.parse(storage)
|
|
|
|
if(savedDarkMode === true) {
|
|
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2022-05-11 18:10:43 +00:00
|
|
|
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
|
|
|
|
<link href="../../../styles/style.css" rel="Stylesheet">
|
|
|
|
<link href="../../../styles/jetbrains-mono.css" rel="Stylesheet">
|
|
|
|
<link href="../../../styles/main.css" rel="Stylesheet">
|
|
|
|
<link href="../../../styles/prism.css" rel="Stylesheet">
|
|
|
|
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
|
|
|
|
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
|
|
|
|
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
|
|
|
|
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
|
|
|
|
<script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script>
|
|
|
|
<script type="text/javascript" src="../../../scripts/prism.js" async="async"></script>
|
2022-10-22 12:06:20 +00:00
|
|
|
<script type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
|
2022-05-11 18:10:43 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="navigation-wrapper" id="navigation-wrapper">
|
|
|
|
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
|
|
|
<div class="library-name">
|
|
|
|
<a href="../../../index.html">
|
|
|
|
<span>docs</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div>
|
2022-11-10 14:25:46 +00:00
|
|
|
4.1.0 </div>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="pull-right d-flex">
|
2022-08-05 16:09:22 +00:00
|
|
|
<div class="filter-section" id="filter-section">
|
|
|
|
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button>
|
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
|
2022-01-01 21:40:22 +00:00
|
|
|
<div id="searchBar"></div>
|
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
<div id="container">
|
|
|
|
<div id="leftColumn">
|
2021-03-21 17:26:45 +00:00
|
|
|
<div id="sideMenu"></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
<div id="main">
|
|
|
|
<div class="main-content" id="content" pageIds="docs::dev.inmo.tgbotapi.types.location/StaticLocation///PointingToDeclaration//-1982836883">
|
2022-10-22 12:06:20 +00:00
|
|
|
<div class="breadcrumbs"><a href="../../../index.html">docs</a><span class="delimiter">/</span><a href="../index.html">dev.inmo.tgbotapi.types.location</a><span class="delimiter">/</span><span class="current">StaticLocation</span></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="cover ">
|
|
|
|
<h1 class="cover"><span>Static</span><wbr></wbr><span><span>Location</span></span></h1>
|
2022-10-22 12:06:20 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlinx.serialization/Serializable///PointingToDeclaration/"><span class="token annotation builtin">Serializable</span></span></div></div><span class="token keyword">data </span><span class="token keyword">class </span><a href="index.html">StaticLocation</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>longitude<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>latitude<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>horizontalAccuracy<span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span> : <a href="../-location/index.html">Location</a></div></div></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="tabbedcontent">
|
2022-10-22 12:06:20 +00:00
|
|
|
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Constructors">Constructors</button><button class="section-tab" data-togglable="Properties">Properties</button><button class="section-tab" data-togglable="Extensions">Extensions</button></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="tabs-section-body">
|
|
|
|
<h2 class="tabbedcontent">Constructors</h2>
|
|
|
|
<div class="table" data-togglable="Constructors"><a data-name="-297165117%2FConstructors%2F-1982836883" anchor-label="StaticLocation" id="-297165117%2FConstructors%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue TabbedContent">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="-static-location.html"><span>Static</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-297165117%2FConstructors%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2022-10-22 12:06:20 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-static-location.html"><span class="token function">StaticLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">longitude<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span></span><span class="parameter ">latitude<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span></span><span class="parameter ">horizontalAccuracy<span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a><span class="token operator">?</span><span class="token operator"> = </span>null</span></span><span class="token punctuation">)</span></div></div></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h2 class="">Properties</h2>
|
|
|
|
<div class="table" data-togglable="Properties"><a data-name="137861439%2FProperties%2F-1982836883" anchor-label="horizontalAccuracy" id="137861439%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
2022-08-05 16:09:22 +00:00
|
|
|
<div><a href="horizontal-accuracy.html"><span>horizontal</span><wbr></wbr><span><span>Accuracy</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="137861439%2FProperties%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2022-10-22 12:06:20 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="137861439%2FProperties%2F-1982836883" anchor-label="horizontalAccuracy" id="137861439%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="horizontal-accuracy.html">horizontalAccuracy</a><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.types/index.html#-1807903529%2FClasslikes%2F-1982836883">Meters</a><span class="token operator">?</span><span class="token operator"> = </span>null</div></div></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="14950320%2FProperties%2F-1982836883" anchor-label="latitude" id="14950320%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
2022-08-05 16:09:22 +00:00
|
|
|
<div><a href="latitude.html"><span><span>latitude</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="14950320%2FProperties%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2022-10-22 12:06:20 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="14950320%2FProperties%2F-1982836883" anchor-label="latitude" id="14950320%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="latitude.html">latitude</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div></div></div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-30 04:00:18 +00:00
|
|
|
<a data-name="2043073007%2FProperties%2F-1982836883" anchor-label="longitude" id="2043073007%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
2022-08-05 16:09:22 +00:00
|
|
|
<div><a href="longitude.html"><span><span>longitude</span></span></a></div>
|
2022-01-14 10:54:38 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2043073007%2FProperties%2F-1982836883"></span>
|
2022-05-11 18:10:43 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2022-10-22 12:06:20 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><a data-name="2043073007%2FProperties%2F-1982836883" anchor-label="longitude" id="2043073007%2FProperties%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="longitude.html">longitude</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h2 class="tabbedcontent">Extensions</h2>
|
|
|
|
<div class="table" data-togglable="Extensions"><a data-name="1249864450%2FExtensions%2F-1982836883" anchor-label="asLiveLocation" id="1249864450%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/as-live-location.html"><span>as</span><wbr></wbr><span>Live</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1249864450%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/as-live-location.html"><span class="token function">asLiveLocation</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-live-location/index.html">LiveLocation</a><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="-567766716%2FExtensions%2F-1982836883" anchor-label="asStaticLocation" id="-567766716%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/as-static-location.html"><span>as</span><wbr></wbr><span>Static</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-567766716%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/as-static-location.html"><span class="token function">asStaticLocation</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">StaticLocation</a><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="324490124%2FExtensions%2F-1982836883" anchor-label="ifLiveLocation" id="324490124%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/if-live-location.html"><span>if</span><wbr></wbr><span>Live</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="324490124%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-live-location.html">T</a><span class="token operator">> </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-live-location.html"><span class="token function">ifLiveLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="../-live-location/index.html">LiveLocation</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-live-location.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-live-location.html">T</a><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="-166472180%2FExtensions%2F-1982836883" anchor-label="ifStaticLocation" id="-166472180%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/if-static-location.html"><span>if</span><wbr></wbr><span>Static</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-166472180%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-static-location.html">T</a><span class="token operator">> </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-static-location.html"><span class="token function">ifStaticLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="index.html">StaticLocation</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-static-location.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/if-static-location.html">T</a><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="-1042570086%2FExtensions%2F-1982836883" anchor-label="liveLocationOrNull" id="-1042570086%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/live-location-or-null.html"><span>live</span><wbr></wbr><span>Location</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Null</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1042570086%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/live-location-or-null.html"><span class="token function">liveLocationOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-live-location/index.html">LiveLocation</a><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="1346868335%2FExtensions%2F-1982836883" anchor-label="liveLocationOrThrow" id="1346868335%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/live-location-or-throw.html"><span>live</span><wbr></wbr><span>Location</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Throw</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1346868335%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/live-location-or-throw.html"><span class="token function">liveLocationOrThrow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-live-location/index.html">LiveLocation</a></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="905686899%2FExtensions%2F-1982836883" anchor-label="requireLiveLocation" id="905686899%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/require-live-location.html"><span>require</span><wbr></wbr><span>Live</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="905686899%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/require-live-location.html"><span class="token function">requireLiveLocation</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-live-location/index.html">LiveLocation</a></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="-609911435%2FExtensions%2F-1982836883" anchor-label="requireStaticLocation" id="-609911435%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/require-static-location.html"><span>require</span><wbr></wbr><span>Static</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-609911435%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/require-static-location.html"><span class="token function">requireStaticLocation</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">StaticLocation</a></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="774901212%2FExtensions%2F-1982836883" anchor-label="staticLocationOrNull" id="774901212%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/static-location-or-null.html"><span>static</span><wbr></wbr><span>Location</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Null</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="774901212%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/static-location-or-null.html"><span class="token function">staticLocationOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">StaticLocation</a><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="1853903725%2FExtensions%2F-1982836883" anchor-label="staticLocationOrThrow" id="1853903725%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/static-location-or-throw.html"><span>static</span><wbr></wbr><span>Location</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Throw</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1853903725%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/static-location-or-throw.html"><span class="token function">staticLocationOrThrow</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">StaticLocation</a></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="2052774095%2FExtensions%2F-1982836883" anchor-label="whenLiveLocation" id="2052774095%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/when-live-location.html"><span>when</span><wbr></wbr><span>Live</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2052774095%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-live-location.html">T</a><span class="token operator">> </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-live-location.html"><span class="token function">whenLiveLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="../-live-location/index.html">LiveLocation</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-live-location.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-live-location.html">T</a><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="2038235599%2FExtensions%2F-1982836883" anchor-label="whenStaticLocation" id="2038235599%2FExtensions%2F-1982836883" data-filterable-set=":docs:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="../../dev.inmo.tgbotapi.extensions.utils/when-static-location.html"><span>when</span><wbr></wbr><span>Static</span><wbr></wbr><span><span>Location</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2038235599%2FExtensions%2F-1982836883"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-static-location.html">T</a><span class="token operator">> </span><a href="../-location/index.html">Location</a><span class="token punctuation">.</span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-static-location.html"><span class="token function">whenStaticLocation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="index.html">StaticLocation</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-static-location.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../dev.inmo.tgbotapi.extensions.utils/when-static-location.html">T</a><span class="token operator">?</span></div></div></div>
|
2021-03-21 17:26:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-08-05 16:09:22 +00:00
|
|
|
<div class="footer">
|
|
|
|
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span
|
2022-05-11 18:10:43 +00:00
|
|
|
class="pull-right"><span>Generated by </span><a
|
|
|
|
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
|
2022-08-05 16:09:22 +00:00
|
|
|
</div>
|
2022-05-11 18:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
2021-03-21 17:26:45 +00:00
|
|
|
</html>
|