User

data class User(val user: User) : Mention

Represents a user mention inside the message composer.

Parameters

user

The user being mentioned.

Constructors

Link copied to clipboard
constructor(user: User)

Properties

Link copied to clipboard
open override val display: String

The display text of the mention. Implementations must guarantee a non-empty value so autocomplete and linkification produce a stable @token even when the underlying source lacks a human-readable name.

Link copied to clipboard
open override val type: MentionType

The type of the mention.

Link copied to clipboard
val user: User