mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-17 22:03:48 +00:00
7.4 KiB
7.4 KiB
//docs/dev.inmo.tgbotapi.extensions.utils.updates.retrieving/startListenWebhooks
startListenWebhooks
[jvm]
Content
fun startListenWebhooks(listenPort: Int, engineFactory: <*, *>, exceptionsHandler: <Unit>, listenHost: String = "0.0.0.0", listenRoute: String? = null, privateKeyConfig: WebhookPrivateKeyConfig? = null, scope: = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()), mediaGroupsDebounceTimeMillis: Long = 1000L, block: <Update>):
More info
Setting up ktor server
See also
jvm
dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter | |
dev.inmo.tgbotapi.updateshandlers.UpdatesFilter |
Parameters
jvm