awaitBlockUser

suspend fun SendbirdChat.awaitBlockUser(userIdToBlock: String): User

Blocks the specified User. Blocked User cannot send messages to the blocker.

Return

The blocked User object.

Since

4.17.0

Parameters

userIdToBlock

User ID to block.