data class MessageContainerParams(val messageItem: MessageItemState, val modifier: Modifier = Modifier, val onPollUpdated: (Message, Poll) -> Unit = { _, _ -> }, val onCastVote: (Message, Poll, Option) -> Unit = { _, _, _ -> }, val onRemoveVote: (Message, Poll, Vote) -> Unit = { _, _, _ -> }, val selectPoll: (Message, Poll, PollSelectionType) -> Unit = { _, _, _ -> }, val onClosePoll: (String) -> Unit = {}, val onAddPollOption: (Poll, String) -> Unit = { _, _ -> }, val onLongItemClick: (Message) -> Unit = {}, val onThreadClick: (Message) -> Unit = {}, val onReactionsClick: (Message) -> Unit = {}, val onGiphyActionClick: (GiphyAction) -> Unit = {}, val onMediaGalleryPreviewResult: (MediaGalleryPreviewResult?) -> Unit = {}, val onQuotedMessageClick: (Message) -> Unit = {}, val onUserMentionClick: (User) -> Unit = {}, val onAddAnswer: (Message, Poll, String) -> Unit = { _, _, _ -> }, val onReply: (Message) -> Unit = {}, val onUserAvatarClick: (User) -> Unit? = null, val onMessageLinkClick: (Message, String) -> Unit? = null) Parameters for ChatComponentFactory.MessageContainer.
Parameters
Action invoked when a poll is updated.
Action invoked when a vote is cast.
Action invoked when a vote is removed.
Action invoked when a poll selection is made.
Action invoked when a poll is closed.
Action invoked when a poll option is added.
Action invoked when a message is long-clicked.
Action invoked when the thread is clicked.
Action invoked when reactions are clicked.
Action invoked when a Giphy action is clicked.
onMediaGalleryPreviewResult
Action invoked with the media gallery preview result.
Action invoked when a quoted message is clicked.
Action invoked when a user mention is clicked.
Action invoked when an answer is added to a poll.
Action invoked when the reply button is clicked.
Action invoked when a user avatar is clicked.
Action invoked when a link in a message is clicked.