File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed 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
518
518
h4(#rest-sending-messages-request-v2). Request V2
519
519
520
520
Below 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.
522
522
<pre>
523
523
POST /chat/v2/rooms/<roomId>/messages
524
524
{
@@ -580,7 +580,7 @@ h3(#rest-updating-messages). Updating Messages
580
580
h4(#rest-updating-messages-request). Request
581
581
582
582
Below 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>.
584
584
<pre>
585
585
PUT /chat/v2/rooms/<roomId>/messages/<serial>
586
586
{
@@ -654,7 +654,7 @@ h3(#rest-deleting-messages). Deleting Messages
654
654
h4(#rest-deleting-messages-request). Request
655
655
656
656
Below is the full REST payload format for the endpoint.
657
-
657
+ Please note that @metadata@ is of type map<string, string>.
658
658
<pre>
659
659
POST /chat/v2/rooms/<roomId>/messages/<serial>/delete
660
660
{
@@ -849,9 +849,7 @@ h4(#chat-structs-message-v2). Messages V2
849
849
"clientId": "who-performed-the-action",
850
850
"description": "why-the-action-was-performed"
851
851
"metadata": {
852
- "foo": {
853
- "bar": 1
854
- }
852
+ "foo": "bar"
855
853
},
856
854
}
857
855
}
You can’t perform that action at this time.
0 commit comments