//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling](index.md)/[onPassportMessageWith](on-passport-message-with.md) # onPassportMessageWith [common] Content inline suspend fun <[T](on-passport-message-with.md) : [EncryptedPassportElement](../dev.inmo.tgbotapi.types.passport.encrypted.abstracts/-encrypted-passport-element/index.md)> [BehaviourContext](../dev.inmo.tgbotapi.extensions.behaviour_builder/-behaviour-context/index.md).[onPassportMessageWith](on-passport-message-with.md)(includeFilterByChatInBehaviourSubContext: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = true, noinline additionalFilter: suspend ([PassportMessage](../dev.inmo.tgbotapi.types.message/-passport-message/index.md)) -> [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, noinline 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), [PassportMessage](../dev.inmo.tgbotapi.types.message/-passport-message/index.md)>):