AmityMentionMapperhelper class can transform metadata into mentions and vice versa. This class uses our custom structure of representing mentions in text messages.
AmityMentioneesobjects. You can only mention users in a post.
AmityPostand store mentions in metadata property.
AmityMentionstores the auxiliary data; attached in a post metadata.
AmityMentionMapperA helper class to transform
AmityMentioninto metadata; or to extract
AmityMentionworks in a post.
AmityMentionfrom metadata, and return the highlighted text.