ModeratedMessageDialogOptions

fun ModeratedMessageDialogOptions(message: Message, options: List<ModeratedMessageOption>, modifier: Modifier = Modifier, onDismissRequest: () -> Unit = {}, onDialogOptionInteraction: (message: Message, option: ModeratedMessageOption) -> Unit = { _, _ -> }, itemContent: @Composable (ModeratedMessageOption) -> Unit = { option -> DefaultModeratedMessageOptionItem(message, option, onDismissRequest, onDialogOptionInteraction) })

Composable that represents the dialog options a user can select to act upon a moderated message.

Parameters

message

The moderated Message upon which the user can take action.

modifier

Modifier for styling.

options

List of options that the user can choose from for the moderated message.

onDismissRequest

Handler for dialog dismissal.

onDialogOptionInteraction

Handler for detecting the action taken upon the dialog.

itemContent

Composable that represents a single option item. By default shows just a text.