ConnectApi.BinaryInput
Create a ConnectApi.BinaryInput object to attach files to feed items and comments, to add repository files, to create managed content, and to replace managed content variants.
The constructor is:
The constructor takes these arguments:
| Argument | Type | Description | Available Version |
|---|---|---|---|
blob | Blob | Contents of the file to be used for input | 28.0 |
contentType | String | MIME type description of the content, such as image/jpg | 28.0 |
filename | String | File name with the file extension, such as UserPhoto.jpg | 28.0 |
See Also