Skip to content

Commit cc5a3dc

Browse files
committed
Updated version, serial and timestamp for example events according to spec
1 parent a5baa77 commit cc5a3dc

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

textile/chat-features.textile

+7-8
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ The response body is as follows.
604604

605605
<pre>
606606
{
607-
"version": "01726585978590-001@abcdefghij:001",
607+
"version": "01729085978590-001@abcdefghij:001",
608608
"timestamp": 1726585978590
609609
}
610610
</pre>
@@ -624,14 +624,14 @@ h4(#rest-updating-messages-request). Corresponding Realtime Event
624624
}
625625
},
626626
"createdAt": 1726232498871,
627-
"timestamp": 1726585978590,
627+
"timestamp": 1729085978590,
628628
"extras": {
629629
"headers": {
630630
"baz": "qux"
631631
}
632632
}
633-
"serial": "01726232498871-001@abcdefghij:001",
634-
"version": "01726585978590-001@abcdefghij:001"
633+
"serial": "01726585978590-001@abcdefghij:001",
634+
"version": "01729085978590-001@abcdefghij:001"
635635
"action": "message.update"
636636
"operation": {
637637
"clientId": "who-performed-the-action",
@@ -686,16 +686,15 @@ h4(#rest-deleting-messages-request). Corresponding Realtime Event
686686
}
687687
}
688688
},
689-
"timestamp": "1726232498871",
690689
"extras": {
691690
"headers": {
692691
"baz": "qux"
693692
},
694693
}
694+
"createdAt": 1726232498871,
695695
"serial": "01726585978590-001@abcdefghij:001",
696-
"action": "message.deleted"
697-
"timestamp": 1826232498871
698-
"createdAt": 1726585978590,
696+
"action": "message.deleted",
697+
"timestamp": 1826232498871,
699698
"version": "01826232498871-001@abcdefghij:001",
700699
"operation": {
701700
"clientId": "who-performed-the-action",

0 commit comments

Comments
 (0)