docs

# onRequestResultPresented

open suspend fun < T : Any > onRequestResultPresented ( result: T , request: Request < T >, resultCallFactory: KtorCallFactory , callsFactories: List < KtorCallFactory >): T ?
Content copied to clipboard

Will be called when resultCallFactory is the KtorCallFactory from callsFactories which has successfully handled request and returned result. If returns value - that value will be returned from dev.inmo.tgbotapi.bot.RequestsExecutor.execute instead