<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-after-call-factory-make-call.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-after-call-factory-make-call.html"><spanclass="token function">onAfterCallFactoryMakeCall</span></a><spanclass="token punctuation">(</span>result<spanclass="token operator">: </span><ahref="on-after-call-factory-make-call.html">T</a><spanclass="token operator">?</span><spanclass="token punctuation">, </span>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-after-call-factory-make-call.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">, </span>potentialFactory<spanclass="token operator">: </span><ahref="../../dev.inmo.tgbotapi.bot.Ktor/-ktor-call-factory/index.html">KtorCallFactory</a><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="on-after-call-factory-make-call.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 always be called after <ahref="on-after-call-factory-make-call.html">potentialFactory</a> has tried to make <ahref="on-after-call-factory-make-call.html">request</a> and got some <ahref="on-after-call-factory-make-call.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>