All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy