RedisBaseStatefulLink

abstract class RedisBaseStatefulLink<L : StatefulLink<IdLong, String>>(host: String = "localhost", port: Int = 6379, linkRef: KClass<L>, serializer: Json) : StatefulLink<IdLong, String> (source)

Constructors

Link copied to clipboard
constructor(host: String = "localhost", port: Int = 6379, linkRef: KClass<L>, serializer: Json)

Properties

Link copied to clipboard
open override val afterAction: Action?
Link copied to clipboard
open override val beforeAction: Action?
Link copied to clipboard
open override val breakCondition: BreakCondition?
Link copied to clipboard
Link copied to clipboard
open override val retryAfterBreak: Boolean
Link copied to clipboard
open override val state: LinkStateManager<IdLong, String>

Functions

Link copied to clipboard
abstract suspend fun action(user: User, update: ProcessedUpdate, bot: TelegramBot): String
Link copied to clipboard
open suspend fun breakAction(user: User, update: ProcessedUpdate, bot: TelegramBot)