1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-10-31 21:43:48 +00:00

update order of arguments in setWebhook

This commit is contained in:
InsanusMokrassar 2019-02-26 16:11:37 +08:00
parent 1520271777
commit 8997454a46

View File

@ -111,10 +111,10 @@ suspend fun RequestsExecutor.setWebhook(
url: String,
port: Int,
certificate: InputFile,
filter: UpdatesFilter,
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
maxAllowedConnections: Int? = null,
engineFactory: ApplicationEngineFactory<*, *> = Netty,
filter: UpdatesFilter
engineFactory: ApplicationEngineFactory<*, *> = Netty
): Job = setWebhook(
url,
port,