1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +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, url: String,
port: Int, port: Int,
certificate: InputFile, certificate: InputFile,
filter: UpdatesFilter,
scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()), scope: CoroutineScope = CoroutineScope(Executors.newFixedThreadPool(4).asCoroutineDispatcher()),
maxAllowedConnections: Int? = null, maxAllowedConnections: Int? = null,
engineFactory: ApplicationEngineFactory<*, *> = Netty, engineFactory: ApplicationEngineFactory<*, *> = Netty
filter: UpdatesFilter
): Job = setWebhook( ): Job = setWebhook(
url, url,
port, port,