ConnectApi.ContentAttachmentInput

Used to attach existing content to a comment or feed item.

This class isn’t available in version 32.0 and later. In version 32.0 and later, use ConnectApi.ContentCapabilityInput.

Subclass of ConnectApi.FeedItemAttachmentInput.

PropertyTypeDescriptionAvailable Version
contentDocumentIdStringID of the existing content.28.0–31.0