<divclass="content sourceset-dependent-content"data-active=""data-togglable=":docs:dokkaHtml/jvmMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spandata-unresolved-link="io.ktor.server.routing/Route///PointingToDeclaration/">Route</span><spanclass="token punctuation">.</span><ahref="include-webhook-handling-in-route-with-flows.html"><spanclass="token function">includeWebhookHandlingInRouteWithFlows</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">scope<spanclass="token operator">: </span><spandata-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span><spanclass="token punctuation">, </span></span><spanclass="parameter ">exceptionsHandler<spanclass="token operator">: </span><spandata-unresolved-link="dev.inmo.micro_utils.coroutines/ExceptionHandler///PointingToDeclaration/">ExceptionHandler</span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><spanclass="token operator">></span><spanclass="token operator">?</span><spanclass="token operator"> = </span>null<spanclass="token punctuation">, </span></span><spanclass="parameter ">mediaGroupsDebounceTimeMillis<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><spanclass="token operator"> = </span><spanclass="token constant">1000</span><spanclass="token punctuation">, </span></span><spanclass="parameter ">block<spanclass="token operator">: </span><spanclass="token keyword"></span><spandata-unresolved-link="dev.inmo.tgbotapi.updateshandlers/FlowsUpdatesFilter///PointingToDeclaration/">FlowsUpdatesFilter</span><spanclass="token punctuation">.</span><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator"> -></span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></span></span><spanclass="token punctuation">)</span></div><h4class="">Parameters</h4><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/jvmMain"data-filterable-set=":docs:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><u><span>media</span><wbr></wbr><span>Groups</span><wbr></wbr><span>Debounce</span><wbr></wbr><span>Time</span><wbr></wbr><span><span>Millis</span></span></u></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">Will be used for calling of <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.utils.updates.retrieving//updateHandlerWithMediaGroupsAdaptation/kotlinx.coroutines.CoroutineScope#kotlin.coroutines.SuspendFunction1[dev.inmo.tgbotapi.types.update.abstracts.Update,kotlin.Unit]#kotlin.Long/PointingToDeclaration/">updateHandlerWithMediaGroupsAdaptation</span>. Pass null in case you wish to enable classic way of updates handling, but in that mode some media group messages can be retrieved in different updates</p></div></div></div></div></div></div></div></div></div>