flagMessage

fun flagMessage(messageId: String, reason: String?, customData: Map<String, String>): Call<Flag>

Flags a message.

Parameters

messageId

The ID of the message to flag.

reason

The (optional) reason for flagging the message.

customData

Custom data to be attached to the flag.