setAsync

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

telegramId
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