toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.interfaces.ctx
/
InputListener
/
setAsync
set
Async
abstract
suspend
fun
setAsync
(
telegramId
:
Long
,
identifier
:
String
)
:
Deferred
<
Boolean
>
open
suspend
fun
setAsync
(
telegramId
:
Long
,
identifier
:
(
)
->
String
)
:
Deferred
<
Boolean
>
Asynchronously set new waiting point
Parameters
telegram
Id
identifier
open
suspend
fun
setAsync
(
user
:
User
,
identifier
:
String
)
:
Deferred
<
Boolean
>
open
suspend
fun
setAsync
(
user
:
User
,
identifier
:
(
)
->
String
)
:
Deferred
<
Boolean
>
Shortcut function for
setAsync
method.
Return
Deferred
<
Boolean
>
Parameters
user
identifier