update order of arguments in setWebhook

This commit is contained in:
InsanusMokrassar committed 2019-02-26 16:11:37 +08:00
1 parent 1520271777
commit 8997454a46
1 file changed
+2 -2
@@ -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,