<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.utils:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.update/-chosen-inline-result-update/index.html">ChosenInlineResultUpdate</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="only-location-chosen-inline-results-with-updates.html"><spanclass="token function">onlyLocationChosenInlineResultsWithUpdates</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types/-update-identifier/index.html">UpdateIdentifier</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a><spanclass="token operator">></span><spanclass="token operator">></span></div><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">Mapped <spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> with <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a>s. <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/first.html">Pair.first</a> in this pair will be <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types/-update-identifier/index.html">UpdateIdentifier</a>. It could be useful in cases you are using <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.update/-inline-query-update/update-id.html">InlineQueryUpdate.updateId</a> for some reasons. <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/second.html">Pair.second</a> will always be <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.-chosen-inline-result/-location-chosen-inline-result/index.html">LocationChosenInlineResult</a>.</p></span></div></div>