MessageMenuHeaderContent
open fun MessageMenuHeaderContent(modifier: Modifier, message: Message, messageOptions: List<MessageOptionItemState>, onMessageAction: (MessageAction) -> Unit, ownCapabilities: Set<String>, onShowMore: () -> Unit, reactionTypes: Map<String, ReactionIcon>, showMoreReactionsIcon: Int)
Factory method for creating the header content of the SelectedMessageMenu.
Parameters
message
The selected message.
messageOptions
List of message options.
ownCapabilities
The capabilities of the current user.
onShowMore
Callback for when the show more reactions option is clicked.
onMessageAction
Callback for when a message action is clicked.
reactionTypes
The reaction types.
showMoreReactionsIcon
The icon to show for the "Show more reactions" option.