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.