messageTopBarActions

fun messageTopBarActions(state: MessageCenterMessageState, canDelete: Boolean = true, onMessageDeleted: () -> Unit = {})(source)

Actions for the message top bar.

Parameters

state

The state of the message.

canDelete

Whether the delete action is enabled.

onMessageDeleted

Optional callback invoked when the message is deleted.