FlagUser

data class FlagUser(val userId: String, val reason: String? = null, val customData: Map<String, String> = emptyMap()) : MessageListViewModel.Event

Event for flagging a user.

Parameters

userId

The ID of the user to flag.

reason

The reason for flagging the user.

customData

Additional key-value data submitted with the request.

Constructors

Link copied to clipboard
constructor(userId: String, reason: String? = null, customData: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
val reason: String? = null
Link copied to clipboard