ConnectApi.BatchInput
Construct a set of inputs to be passed into a method at the same time.
Use this constructor when there isn’t a binary input:
Use this constructor to pass one binary input:
Use this constructor to pass multiple binary inputs:
The constructors takes these parameters:
| Argument | Type | Description | Available Version |
|---|---|---|---|
input | Object | An individual input object to be used in the batch operation. For example, for postFeedElementBatch(), this should be ConnectApi.FeedElementInput. | 32.0 |
binary | ConnectApi.BinaryInput | A binary file to associate with the input object. | 32.0 |
binaries | List<ConnectApi.BinaryInput> | A list of binary files to associate with the input object. | 32.0 |
See Also