<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">fun </span><spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><spanclass="token operator"><</span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><spanclass="token operator"><</span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><spanclass="token operator">></span><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="flatten-commands-with-params.html"><spanclass="token function">flattenCommandsWithParams</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><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><spanclass="token operator"><</span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><spanclass="token operator">></span><spanclass="token punctuation">, </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a><spanclass="token punctuation">, </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><spanclass="token operator"><</span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.textsources/-text-source/index.html">TextSource</a><spanclass="token operator">></span><spanclass="token operator">></span><spanclass="token operator">></span><spanclass="token operator">></span></div><pclass="paragraph">Flat <ahref="commands-with-params.html">commandsWithParams</a>. Each <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a> of <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a> and its <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a> of arg text sources will be associated with its source message</p></div></div>