toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.interfaces.ctx
/
BotContext
/
set
set
abstract
operator
fun
set
(
telegramId
:
Long
,
key
:
String
,
value
:
T
?
)
Set new value.
Parameters
telegram
Id
key
value
open
operator
fun
set
(
user
:
User
,
key
:
String
,
value
:
T
?
)
Shortcut operator function for value setting.
Parameters
user
key
value