MessageAuthorParams

data class MessageAuthorParams(val messageItem: MessageItemState, val onUserAvatarClick: () -> Unit? = null)

Parameters for ChatComponentFactory.MessageAuthor.

Parameters

messageItem

The message item state.

onUserAvatarClick

Action invoked when the user avatar is clicked.

Constructors

Link copied to clipboard
constructor(messageItem: MessageItemState, onUserAvatarClick: () -> Unit? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val onUserAvatarClick: () -> Unit? = null