JsonObject
for the metadata
parameter. The metadata is a mention structure and that depends on your structure design of the content. However, we have a default solution to help you create the metadata.userId
for the mentionUsers
parameter.AmityMentionMetadataGetter
class. If you don't want to render banned users that get mentioned, you must check users in comment.getMentionees()
since it will filter out banned users.