createSubContextAndDoWithUpdatesFilter

suspend fun <T, BC : BehaviourContext> BC.createSubContextAndDoWithUpdatesFilter(triggersHolder: TriggersHolder = this.triggersHolder, updatesUpstreamFlow: Flow<Update> = allUpdatesFlow, behaviourContextReceiver: CustomBehaviourContextReceiver<BC, T>): Deferred<T>

Deprecated

Renamed

Replace with

import dev.inmo.tgbotapi.extensions.behaviour_builder.createSubContextAndDoAsynchronouslyWithUpdatesFilter
createSubContextAndDoAsynchronouslyWithUpdatesFilter(triggersHolder, updatesUpstreamFlow, behaviourContextReceiver = behaviourContextReceiver)

It is just backward compatibility function which will be removed in next updates.

Uses createSubContextAndDoAsynchronouslyWithUpdatesFilter under the hood with passing of parameters as is