mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-01 23:45:25 +00:00
9 lines
283 B
Kotlin
9 lines
283 B
Kotlin
package com.github.insanusmokrassar.TelegramBotAPI.bot
|
|
|
|
import kotlinx.coroutines.CoroutineScope
|
|
import kotlinx.coroutines.Dispatchers
|
|
import kotlinx.io.core.Closeable
|
|
|
|
interface UpdatesPoller : Closeable {
|
|
fun start(scope: CoroutineScope = CoroutineScope(Dispatchers.Default))
|
|
} |