blockUser

fun blockUser(userToBlock: User, handler: UserHandler?)

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

Parameters

userToBlock

User to block.

handler

Callback handler.


fun blockUser(userIdToBlock: String, handler: UserHandler?)

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

Parameters

userIdToBlock

User ID to block.

handler

Callback handler.