<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></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 wrapped"><spanclass="parameter indented"> result<spanclass="token operator">: </span><ahref="on-request-result-presented.html">T</a><spanclass="token punctuation">, </span></span><spanclass="parameter indented"> 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="on-request-result-presented.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">, </span></span><spanclass="parameter indented"> resultCallFactory<spanclass="token operator">: </span><ahref="../-ktor-call-factory/index.html">KtorCallFactory</a><spanclass="token punctuation">, </span></span><spanclass="parameter indented"> callsFactories<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><spanclass="token operator"><</span><spanclass="token keyword"></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><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></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>