Package ai.nexconn.chat.message.model
Class MentionedInfo
-
- All Implemented Interfaces:
public final class MentionedInfoMention information.
Records the mention type and the list of mentioned users in a message.
-
-
Field Summary
Fields Modifier and Type Field Description private final MentionedTypetypeprivate final List<String>userIdListprivate final StringmentionedContent
-
Constructor Summary
Constructors Constructor Description MentionedInfo(MentionedType type, List<String> userIdList, String mentionedContent)
-
Method Summary
Modifier and Type Method Description final MentionedTypegetType()final List<String>getUserIdList()final StringgetMentionedContent()-
-
Constructor Detail
-
MentionedInfo
MentionedInfo(MentionedType type, List<String> userIdList, String mentionedContent)
- Parameters:
type- the mention typeuserIdList- the list of mentioned user IDs; can be null when type is MentionedType.ALLmentionedContent- the push notification content for the mention
-
-
Method Detail
-
getType
final MentionedType getType()
-
getUserIdList
final List<String> getUserIdList()
-
getMentionedContent
final String getMentionedContent()
-
-
-
-