toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal.chain
/
BaseLinkStateManager
Base
Link
State
Manager
open
class
BaseLinkStateManager
<
V
>
(
stateSelector
:
KeySelector
<
IdLong
>
=
KeySelector { it.userOrNull }
)
:
LinkStateManager
<
IdLong
,
V
>
Members
Constructors
Base
Link
State
Manager
Link copied to clipboard
constructor
(
stateSelector
:
KeySelector
<
IdLong
>
=
KeySelector { it.userOrNull }
)
Properties
state
Key
Link copied to clipboard
open
override
val
stateKey
:
KeySelector
<
IdLong
>
Functions
del
Link copied to clipboard
open
suspend override
fun
del
(
key
:
IdLong
)
get
Link copied to clipboard
open
suspend override
fun
get
(
key
:
IdLong
)
:
V
?
set
Link copied to clipboard
open
suspend override
fun
set
(
key
:
IdLong
,
value
:
V
)