commonMain.com.github.insanusmokrassar.TelegramBotAPI.bot.RequestsExecutor.kt Maven / Gradle / Ivy
package com.github.insanusmokrassar.TelegramBotAPI.bot
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.Request
import io.ktor.utils.io.core.Closeable
interface RequestsExecutor : Closeable {
/**
* @throws com.github.insanusmokrassar.TelegramBotAPI.bot.exceptions.RequestException
*/
suspend fun execute(request: Request): T
}