blockUser

fun blockUser(userId: String)

Blocks a user (used for DM channels).

Parameters

userId

The ID of the user to block.