1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-09-30 06:26:08 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.utils.updates.retrieving/include-webhook-handling-in-route.md
2021-03-17 15:18:37 +00:00

4.8 KiB

//docs/dev.inmo.tgbotapi.extensions.utils.updates.retrieving/includeWebhookHandlingInRoute

includeWebhookHandlingInRoute

[jvm]
Content
fun .includeWebhookHandlingInRoute(scope: , exceptionsHandler: <Unit>? = null, mediaGroupsDebounceTimeMillis: Long = 1000L, block: <Update>)
More info

Allows to include webhook in custom route everywhere in your server

See also

jvm

dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter
dev.inmo.tgbotapi.updateshandlers.UpdatesFilter

Parameters

jvm

scope

Will be used for mapping of media groups

exceptionsHandler

Pass this parameter to set custom exception handler for getting updates

block

Some receiver block like dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter