Skip to content

block user

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / blockUser

blockUser

suspend fun TelegramFlow.blockUser(userId: Int): Unit

Suspend function, which adds a user to the blacklist.

Parameters

userId - User identifier.

Clone this wiki locally