Package-level declarations

Types

Link copied to clipboard
open class TelegramBotMiddleware(onRequestException: suspend (request: Request<*>, t: Throwable?) -> Any?? = null, onBeforeSearchCallFactory: suspend (request: Request<*>, callsFactories: List<KtorCallFactory>) -> Unit? = null, onBeforeCallFactoryMakeCall: suspend (request: Request<*>, potentialFactory: KtorCallFactory) -> Unit? = null, onAfterCallFactoryMakeCall: suspend (result: Any?, request: Request<*>, potentialFactory: KtorCallFactory) -> Any?? = null, onRequestResultPresented: suspend (result: Any, request: Request<*>, resultCallFactory: KtorCallFactory, callsFactories: List<KtorCallFactory>) -> Any?? = null, onRequestResultAbsent: suspend (request: Request<*>, callsFactories: List<KtorCallFactory>) -> Any?? = null, onRequestReturnResult: suspend (result: Result<*>, request: Request<*>, callsFactories: List<KtorCallFactory>) -> Result<Any?>?? = null, val id: String = uuid4().toString()) : TelegramBotPipelinesHandler