mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-25 11:38:45 +00:00
fixes in nullability of certificate for webhook
This commit is contained in:
parent
a393382a7c
commit
8bb2b5c218
@ -79,7 +79,7 @@ suspend fun RequestsExecutor.setWebhook(
|
||||
main()
|
||||
}
|
||||
connector {
|
||||
host = "localhost"
|
||||
host = "0.0.0.0"
|
||||
this.port = port
|
||||
}
|
||||
}
|
||||
@ -118,8 +118,8 @@ suspend fun RequestsExecutor.setWebhook(
|
||||
suspend fun RequestsExecutor.setWebhook(
|
||||
url: String,
|
||||
port: Int,
|
||||
certificate: InputFile,
|
||||
filter: UpdatesFilter,
|
||||
certificate: InputFile? = null,
|
||||
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
|
||||
maxAllowedConnections: Int? = null,
|
||||
engineFactory: ApplicationEngineFactory<*, *> = Netty
|
||||
|
Loading…
Reference in New Issue
Block a user