RegularMessageContent
fun RegularMessageContent(messageItem: MessageItemState, modifier: Modifier = Modifier, messageContentFactory: MessageContentFactory = ChatTheme.messageContentFactory, onLongItemClick: (Message) -> Unit = {}, onGiphyActionClick: (GiphyAction) -> Unit = {}, onQuotedMessageClick: (Message) -> Unit = {}, onLinkClick: (Message, String) -> Unit? = null, onUserMentionClick: (User) -> Unit = {}, onMediaGalleryPreviewResult: (MediaGalleryPreviewResult?) -> Unit = {})
Message content for messages which consist of more than just emojis.
Parameters
messageItem
The message item to show the content for.
modifier
Modifier for styling.
onLongItemClick
Handler when the user selects a message, on long tap.
onGiphyActionClick
Handler when the user taps on an action button in a giphy message item.
onQuotedMessageClick
Handler for quoted message click action.
onLinkClick
Handler for clicking on a link in the message.
onMediaGalleryPreviewResult
Handler when the user selects an option in the Media Gallery Preview screen.