File Post

When creating a file post, you need to upload the file first so you can get the fileId that you will use in creating the file post. Refer to Create files for the sample code on how to upload the file.

Once you have the fileId, you can now create the file post with the following method:

Refer to Post target type for a more detailed explanation of the targetType parameter.

Last updated