<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":docs:dokkaHtml/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="../dev.inmo.tgbotapi.types.update/-inline-query-update/index.html">InlineQueryUpdate</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="only-location-inline-queries-with-updates.html"><spanclass="token function">onlyLocationInlineQueriesWithUpdates</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="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="../dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html">LocationInlineQuery</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="../dev.inmo.tgbotapi.types/index.html#-1668278897%2FClasslikes%2F-1982836883">UpdateIdentifier</a>. It could be useful in cases you are using <ahref="../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="../dev.inmo.tgbotapi.types.InlineQueries.query/-location-inline-query/index.html">LocationInlineQuery</a>.</p></span></div></div>