<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">open </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="on-request-result-presented.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="on-request-result-presented.html"><spanclass="token function">onRequestResultPresented</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">result<spanclass="token operator">: </span><ahref="on-request-result-presented.html">T</a><spanclass="token punctuation">, </span></span><spanclass="parameter ">request<spanclass="token operator">: </span><ahref="../../dev.inmo.tgbotapi.requests.abstracts/-request/index.html">Request</a><spanclass="token operator"><</span><ahref="on-request-result-presented.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter ">resultCallFactory<spanclass="token operator">: </span><ahref="../-ktor-call-factory/index.html">KtorCallFactory</a><spanclass="token punctuation">, </span></span><spanclass="parameter ">callsFactories<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><spanclass="token operator"><</span><ahref="../-ktor-call-factory/index.html">KtorCallFactory</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="on-request-result-presented.html">T</a><spanclass="token operator">?</span></div><pclass="paragraph">Will be called when <ahref="on-request-result-presented.html">resultCallFactory</a> is the <ahref="../-ktor-call-factory/index.html">KtorCallFactory</a> from <ahref="on-request-result-presented.html">callsFactories</a> which has successfully handled <ahref="on-request-result-presented.html">request</a> and returned <ahref="on-request-result-presented.html">result</a>. If returns value - that value will be returned from <ahref="../../dev.inmo.tgbotapi.bot/-requests-executor/execute.html">dev.inmo.tgbotapi.bot.RequestsExecutor.execute</a> instead</p></div></div>