<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">fun </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</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 punctuation">.</span><ahref="parse-commands-with-args-sources.html"><spanclass="token function">parseCommandsWithArgsSources</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</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></div><divclass="symbol monospace"><spanclass="token keyword">fun </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.abstracts/-texted-with-text-sources/index.html">TextedWithTextSources</a><spanclass="token punctuation">.</span><ahref="parse-commands-with-args-sources.html"><spanclass="token function">parseCommandsWithArgsSources</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</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></div><divclass="symbol monospace"><spanclass="token keyword">fun </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-content-message/index.html">ContentMessage</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="parse-commands-with-args-sources.html"><spanclass="token function">parseCommandsWithArgsSources</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</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></div><pclass="paragraph">Parse text sources to find commands with their arguments. This method will skip all the text sources <strong>before</strong> first command and all following text sources until the next command will be guessed