metadataparameter. 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.
AmityMentionMetadataGetterclass. 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.