Add metadata
Adds key-values items to store additional information for a message.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
channel_type | string | Specifies the type of the channel. Acceptable values are open_channels and group_channels. |
channel_url | string | Specifies the URL of the target channel. |
message_id | long | Specifies the unique ID of the message to add key-values items for additional information. |
Request body
The following table lists the properties of an HTTP request that this action supports.
Required
Property name | Type | Description |
---|---|---|
sorted_metaarray | array of objects | Specifies an array of one or more |
| array of objects | (Deprecated) Specifies an array of one or more |
Response
If successful, this action returns all registered items including the key and values of added items in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.