Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.MentionValidations

Information about whether a set of mentions is valid for the context user.
Name Type Description Available Version
hasErrors Boolean Indicates whether at least one of the proposed mentions has an error (true), or not (false). For example, context users can’t mention private groups they don’t belong to. If such a group is included in the list of mention validations, hasErrors is true and the group has a validationStatus of Disallowed in its mention validation. 29.0
mentionValidations List<ConnectApi.​MentionValidation> List of mention validation information in the same order as the provided record IDs. 29.0