Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.​​Mention​Validations Class

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, the context user can’t mention private groups he doesn’t belong to. If such a group were included in the list of mention validations, hasErrors would be true and the group would have a validationStatus of Disallowed in its mention validation. 29.0
mentionValidations List<ConnectApi.​MentionValidation> A list of mention validation information in the same order as the provided record IDs. 29.0