flagUser

fun flagUser(userId: String, reason: String?, customData: Map<String, String>): Call<Flag>

Flags a user.

Parameters

userId

The ID of the user to flag.

reason

The (optional) reason for flagging the user.

customData

Custom data to be attached to the flag.