1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-03 00:15:27 +00:00
tgbotapi/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/bot/UpdatesPoller.kt

10 lines
389 B
Kotlin
Raw Normal View History

package com.github.insanusmokrassar.TelegramBotAPI.bot
2020-01-15 06:28:06 +00:00
import io.ktor.utils.io.core.Closeable
2019-08-12 09:46:31 +00:00
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
2020-03-17 14:24:31 +00:00
@Deprecated("Deprecated due to more simple way to get updates using TelegramBotAPI-extensions-api")
interface UpdatesPoller : Closeable {
fun start(scope: CoroutineScope = CoroutineScope(Dispatchers.Default))
}