MessageActionsHeaderParams

data class MessageActionsHeaderParams(val message: Message, val messageOptions: List<MessageOptionItemState>, val ownCapabilities: Set<String>, val onMessageAction: (MessageAction) -> Unit, val onShowMore: () -> Unit, val modifier: Modifier = Modifier)

Parameters for ChatComponentFactory.MessageActionsHeader.

Parameters

message

The selected message.

messageOptions

The list of message options.

ownCapabilities

The capabilities of the current user.

onMessageAction

Action invoked when a message action is clicked.

onShowMore

Action invoked when "show more" is clicked.

modifier

Modifier for styling.

Constructors

Link copied to clipboard
constructor(message: Message, messageOptions: List<MessageOptionItemState>, ownCapabilities: Set<String>, onMessageAction: (MessageAction) -> Unit, onShowMore: () -> Unit, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onShowMore: () -> Unit
Link copied to clipboard