Update extra data in a message
PUT {{baseUrl}}/v3/:channel_type/:channel_url/messages/:message_id/sorted_metaarray
Update extra data in a message
Updates the values of specific items by their keys.
https://sendbird.com/docs/chat/v3/platform-api/guides/messages#2-update-extra-data-in-a-message
Request Body
{"channel_type"=>"<string>", "channel_url"=>"<string>", "message_id"=>"<integer>", "sorted_metaarray"=>"<string>", "mode"=>"<string>", "upsert"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"sorted_metaarray":[{"value":["\u003cstring\u003e","\u003cstring\u003e"],"key":"\u003cstring\u003e"},{"value":["\u003cstring\u003e","\u003cstring\u003e"],"key":"\u003cstring\u003e"}]}