//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling](index.md)/[command](command.md) # command [common] Content suspend fun [BehaviourContext](../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.md).[command](command.md)(commandRegex: [Regex](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-regex/index.html), requireOnlyCommandInMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, includeFilterByChatInBehaviourSubContext: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, scenarioReceiver: [BehaviourContextAndTypeReceiver](../dev.inmo.tgbotapi.extensions.behaviour_builder/index.md#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html), [CommonMessage](../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.md)<[TextContent](../dev.inmo.tgbotapi.types.message.content/-text-content/index.md)>>): suspend fun [BehaviourContext](../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.md).[command](command.md)(command: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), requireOnlyCommandInMessage: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, includeFilterByChatInBehaviourSubContext: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, scenarioReceiver: [BehaviourContextAndTypeReceiver](../dev.inmo.tgbotapi.extensions.behaviour_builder/index.md#%5Bdev.inmo.tgbotapi.extensions.behaviour_builder%2FBehaviourContextAndTypeReceiver%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)<[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html), [CommonMessage](../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.md)<[TextContent](../dev.inmo.tgbotapi.types.message.content/-text-content/index.md)>>):