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:

ArgumentTypeDescriptionAvailable Version
blobBlobContents of the file to be used for input28.0
contentTypeStringMIME type description of the content, such as image/jpg28.0
filenameStringFile name with the file extension, such as UserPhoto.jpg28.0

See Also