mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-09-27 21:16:09 +00:00
17 lines
444 B
Kotlin
17 lines
444 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI
|
||
|
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.bot.Ktor.KtorRequestsExecutor
|
||
|
import io.ktor.client.engine.okhttp.OkHttp
|
||
|
import kotlinx.coroutines.runBlocking
|
||
|
|
||
|
fun main(args: Array<String>) {
|
||
|
runBlocking {
|
||
|
KtorRequestsExecutor(
|
||
|
args[0],
|
||
|
OkHttp.create()
|
||
|
).apply {
|
||
|
// It is just template of creating requests executor
|
||
|
}
|
||
|
}
|
||
|
}
|