StatefulLink

abstract class StatefulLink<K, V> : Link<V>

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val afterAction: Action? = null
Link copied to clipboard
open override val beforeAction: Action? = null
Link copied to clipboard
open override val breakCondition: BreakCondition? = null
Link copied to clipboard
Link copied to clipboard
open override val retryAfterBreak: Boolean = true
Link copied to clipboard
abstract val state: LinkStateManager<K, V>

Functions

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