toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal.chain
/
StatefulLink
Stateful
Link
abstract
class
StatefulLink
<
K
,
V
>
:
Link
<
V
>
Inheritors
BaseStatefulLink
Members
Constructors
Stateful
Link
Link copied to clipboard
constructor
(
)
Properties
after
Action
Link copied to clipboard
open
override
val
afterAction
:
Action
?
=
null
before
Action
Link copied to clipboard
open
override
val
beforeAction
:
Action
?
=
null
break
Condition
Link copied to clipboard
open
override
val
breakCondition
:
BreakCondition
?
=
null
chaining
Strategy
Link copied to clipboard
open
val
chainingStrategy
:
ChainingStrategy
retry
After
Break
Link copied to clipboard
open
override
val
retryAfterBreak
:
Boolean
=
true
state
Link copied to clipboard
abstract
val
state
:
LinkStateManager
<
K
,
V
>
Functions
action
Link copied to clipboard
abstract
suspend
fun
action
(
user
:
User
,
update
:
ProcessedUpdate
,
bot
:
TelegramBot
)
:
V
break
Action
Link copied to clipboard
open
suspend
fun
breakAction
(
user
:
User
,
update
:
ProcessedUpdate
,
bot
:
TelegramBot
)