createSubContextAndDoWithUpdatesFilter
suspend fun <T, BC : BehaviourContext> BC.createSubContextAndDoWithUpdatesFilter(triggersHolder: TriggersHolder = this.triggersHolder, updatesUpstreamFlow: Flow<Update> = allUpdatesFlow, additionalSubcontextInitialAction: CustomBehaviourContextAndTypeReceiver<BehaviourContext, Unit, Update>? = null, behaviourContextReceiver: CustomBehaviourContextReceiver<BC, T>): Deferred<T>
Deprecated
Renamed
Replace with
import dev.inmo.tgbotapi.extensions.behaviour_builder.createSubContextAndDoAsynchronouslyWithUpdatesFilter
Content copied to clipboard
createSubContextAndDoAsynchronouslyWithUpdatesFilter(triggersHolder, updatesUpstreamFlow, behaviourContextReceiver = behaviourContextReceiver)
Content copied to clipboard
It is just backward compatibility function which will be removed in next updates.
Uses createSubContextAndDoAsynchronouslyWithUpdatesFilter under the hood with passing of parameters as is