<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"></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.message.abstracts/-common-message/index.html">CommonMessage</a><spanclass="token operator"><</span><spanclass="token keyword"></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="require-single-command.html"><spanclass="token function">requireSingleCommand</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.message.abstracts/-common-message/index.html">CommonMessage</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.content/-text-content/index.html">TextContent</a><spanclass="token operator">></span><spanclass="token operator">></span></div><pclass="paragraph">Subsequent <spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span> will retrieve only messages with ONE <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a>. It does not guarantee that this <ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.textsources/-bot-command-text-source/index.html">BotCommandTextSource</a> will be at the start of the message</p><h4class="">See also</h4><divclass="table"><divclass="table-row"data-filterable-current=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="require-command-at-start.html"><span>require</span><wbr><span>Command</span><wbr><span>At</span><wbr><span><span>Start</span></span></a></div></span></div><div></div></div></div></div></div></div>