MessageTextContentParams
constructor(message: Message, currentUser: User?, onLongItemClick: (Message) -> Unit, onUserMentionClick: (User) -> Unit, modifier: Modifier = Modifier, onLinkClick: (Message, String) -> Unit? = null, onMentionClick: (Mention) -> Unit = {})
Parameters
message
The message containing the text.
currentUser
The currently logged in user.
onLongItemClick
Action invoked when a message is long-clicked.
onUserMentionClick
Action invoked when a user mention is clicked. Prefer onMentionClick for new code: it also fires for other mention types.
modifier
Modifier for styling.
onLinkClick
Action invoked when a link in a message is clicked.
onMentionClick
Action invoked when any mention is clicked.