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