docs

# buildBehaviour

suspend fun TelegramBot . buildBehaviour ( flowUpdatesFilter: FlowsUpdatesFilter = FlowsUpdatesFilter(), scope: CoroutineScope = defaultCoroutineScopeProvider(), defaultExceptionsHandler: ExceptionHandler< Unit >? = null, block: BehaviourContextReceiver < Unit >): BehaviourContext
Content copied to clipboard

Use this method in case you wish to make some additional actions with flowUpdatesFilter.

WARNING This method WILL NOT launch any listening of updates. Use something like startGettingOfUpdatesByLongPolling or tools for work with webhooks

## See also

dev.inmo.tgbotapi.extensions.behaviour_builder.BehaviourContext
startGettingOfUpdatesByLongPolling