ConnectApi.ContentAttachmentInput

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

Important

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

Subclass of ConnectApi.FeedItemAttachmentInput.

Property Type Description Available Version
contentDocumentId String ID of the existing content. 28.0–31.0