MessageComposerSuggestionItemParams

data class MessageComposerSuggestionItemParams(val mention: Mention, val onMentionSelected: (Mention) -> Unit, val currentUser: User? = null)

Parameters for ChatComponentFactory.MessageComposerSuggestionItem.

Parameters

mention

The Mention for which the suggestion is rendered.

onMentionSelected

Action invoked when the mention is selected.

currentUser

The currently logged in user, used when rendering a Mention.User.

Constructors

Link copied to clipboard
constructor(mention: Mention, onMentionSelected: (Mention) -> Unit, currentUser: User? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard