requireSingleCommand

fun Flow<CommonMessage<TextContent>>.requireSingleCommand(): Flow<CommonMessage<TextContent>>

Subsequent Flow will retrieve only messages with ONE BotCommandTextSource. It does not guarantee that this BotCommandTextSource will be at the start of the message

See also