MessageComposerSuggestionItemParams

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

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.