SocialPostCreationData.Attachment property

SharePoint Online

Gets or sets an image, video, or document attachment for the post.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public SocialAttachment Attachment { get; set; }
Show: