-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.common.feature.messages.composer.mention.Mention
public final class Mention.User implements Mention
A user mention.
-
-
Constructor Summary
Constructors Constructor Description Mention.User(User user)
-
Method Summary
Modifier and Type Method Description MentionTypegetType()The type of the mention. StringgetDisplay()The primary display text of the mention, used when inserting a token into the composer. final UsergetUser()List<String>getTokens()-
-
Method Detail
-
getType
MentionType getType()
The type of the mention.
-
getDisplay
String getDisplay()
The primary display text of the mention, used when inserting a token into the composer. Implementations must guarantee a non-empty value so autocomplete and linkification produce a stable
@tokeneven when the underlying source lacks a human-readable name.
-
getUser
final User getUser()
-
-
-
-