File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -165,19 +165,25 @@ Request body:
165165Request response:
166166``` jsonc
167167{
168- " state_events" : [
169- // list of state event ID's we inserted...
168+ // List of state event ID's we inserted
169+ " state_event_ids" : [
170+ // member state event ID
170171 ],
171- // List of historical event ID's we inserted which includes the
172- // auto-generated insertion and chunk events...
173- " events" : [
174- // insertion event ID for chunk
172+ // List of historical event ID's we inserted
173+ " event_ids" : [
175174 // historical message1 event ID
176175 // historical message2 event ID
177- // chunk event ID
178- // base insertion event ID
179176 ],
180177 " next_chunk_id" : " random-unique-string" ,
178+ " insertion_event_id" : " $X9RSsCPKu5gTVIJCoDe6HeCmsrp6kD31zXjMRfBCADE" ,
179+ " chunk_event_id" : " $kHspK8a5kQN2xkTJMDWL-BbmeYVYAloQAA9QSLOsOZ4" ,
180+ // When `?chunk_id` isn't provided, the homeserver automatically creates an
181+ // insertion event as a starting place to hang the history off of. This automatic
182+ // insertion event ID is returned in this field.
183+ //
184+ // When `?chunk_id` is provided, this field is not present because we can hang
185+ // the history off the insertione event specified associated by the chunk ID.
186+ " base_insertion_event_id" : " $pmmaTamxhcyLrrOKSrJf3c1zNmfvsE5SGpFpgE_UvN0"
181187}
182188```
183189
You can’t perform that action at this time.
0 commit comments