<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/-inline-query-update/index.html">InlineQueryUpdate</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="only-location-inline-queries.html"><spanclass="token function">onlyLocationInlineQueries</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="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-location-inline-query/index.html">LocationInlineQuery</a><spanclass="token operator">></span></div><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">Filter updates only with <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-location-inline-query/index.html">LocationInlineQuery</a> and map it to a <spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> with values <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.-inline-queries.query/-location-inline-query/index.html">LocationInlineQuery</a></p></span><h4class="">See also</h4><divclass="table"><divclass="table-row"data-filterable-current=":tgbotapi.utils:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.utils:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="only-location-inline-queries-with-updates.html"><span>only</span><wbr><span>Location</span><wbr><span>Inline</span><wbr><span>Queries</span><wbr><span>With</span><wbr><span><span>Updates</span></span></a></div></span></div><div></div></div></div></div></div></div>