ConnectApi.​MentionValidation Class

Information about whether a proposed mention is valid for the context user.

Name Type Description Available Version
recordId String The ID of the mentioned record. 29.0
validationStatus ConnectApi.​MentionValidation​Status Enum Specifies the type of validation error for a proposed mention, if any.
  • Disallowed—The proposed mention is invalid and is rejected because the context user is trying to mention something that is not allowed. For example, a user who is not a member of a private group is trying to mention the private group.
  • Inaccessible—The proposed mention is allowed but the user or record being mentioned isn’t notified because they don't have access to the parent record being discussed.
  • Ok—There is no validation error for this proposed mention.
29.0
Previous
Next