File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ h4(#rest-sending-messages-request-v1). Corresponding Realtime Event V1 @(depreca
518518h4(#rest-sending-messages-request-v2). Request V2
519519
520520Below is the full REST payload format for the V2 endpoint. The @metadata@ and @headers@ keys are optional.
521-
521+ Please note that @metadata@ is of type map<string, any> or jsonObject.
522522<pre>
523523 POST /chat/v2/rooms/<roomId>/messages
524524 {
@@ -580,7 +580,7 @@ h3(#rest-updating-messages). Updating Messages
580580h4(#rest-updating-messages-request). Request
581581
582582Below is the full REST payload format for the endpoint. The @description@, @headers@ and both @metadata@ keys are optional.
583-
583+ Please note that outer @metadata@ is of type map<string, string>.
584584<pre>
585585 PUT /chat/v2/rooms/<roomId>/messages/<serial>
586586 {
@@ -654,7 +654,7 @@ h3(#rest-deleting-messages). Deleting Messages
654654h4(#rest-deleting-messages-request). Request
655655
656656Below is the full REST payload format for the endpoint.
657-
657+ Please note that @metadata@ is of type map<string, string>.
658658<pre>
659659 POST /chat/v2/rooms/<roomId>/messages/<serial>/delete
660660 {
@@ -849,9 +849,7 @@ h4(#chat-structs-message-v2). Messages V2
849849 "clientId": "who-performed-the-action",
850850 "description": "why-the-action-was-performed"
851851 "metadata": {
852- "foo": {
853- "bar": 1
854- }
852+ "foo": "bar"
855853 },
856854 }
857855 }
You can’t perform that action at this time.
0 commit comments