<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">interface </span><ahref="index.html">RequestsExecutor</a> : <spandata-unresolved-link="io.ktor.utils.io.core/Closeable///PointingToDeclaration/">Closeable</span></div><pclass="paragraph">Interface for making requests to Telegram Bot API. Currently, there is only one built-in implementation - dev.inmo.tgbotapi.bot.Ktor.KtorRequestsExecutor</p><h4class="">See also</h4><divclass="table"><divclass="table-row"data-filterable-current=":tgbotapi.core:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../../dev.inmo.tgbotapi.requests.abstracts/-request/index.html"><span><span>Request</span></span></a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":tgbotapi.core:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><span>dev.</span><wbr><span>inmo.</span><wbr><span>tgbotapi.</span><wbr><span>bot.</span><wbr><span>Ktor.</span><wbr><span>Ktor</span><wbr><span>Requests</span><wbr><span><span>Executor</span></span></div></span></div><div></div></div></div></div><h4class="">Inheritors</h4><divclass="table"><divclass="table-row"data-filterable-current=":tgbotapi.core:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-base-requests-executor/index.html">BaseRequestsExecutor</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":tgbotapi.core:dokkaHtmlPartial/commonMain"data-filterable-set=":tgbotapi.core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../../dev.inmo.tgbotapi.bot.multiserver/-simple-multi-server-requests-executor/index.html">SimpleMultiServerRequestsExecutor</a></div></span></div><div></div></div></div></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="execute.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token operator">></span><ahref="execute.html"><spanclass="token function">execute</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">request<spanclass="token operator">: </span><ahref="../../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="execute.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="execute.html">T</a></div><divclass="brief "><pclass="paragraph">Unsafe execution of incoming <ahref="execute.html">request</a>. Can throw almost any exception. So, it is better to use something like dev.inmo.tgbotapi.extensions.utils.shortcuts.executeAsync or dev.inmo.tgbotapi.extensions.utils.shortcuts.executeUnsafe</p></div></div></div>