2024-06-09 00:13:49 +00:00
|
|
|
{
|
|
|
|
"guard": "TELODENDRIA_SCHEMA_SYNCRESPONSE_H",
|
|
|
|
"header": "Schema\/SyncResponse.h",
|
|
|
|
"types": {
|
|
|
|
"Event": {
|
|
|
|
"fields": {
|
|
|
|
"content": {
|
|
|
|
"type": "object",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"AccountData": {
|
|
|
|
"fields": {
|
|
|
|
"events": { "type": "[Event]" }
|
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
2024-06-14 21:30:35 +00:00
|
|
|
"InviteState": {
|
2024-06-09 00:13:49 +00:00
|
|
|
"fields": {
|
2024-06-14 21:30:35 +00:00
|
|
|
"events": { "type": "[StrippedStateEvent]" }
|
2024-06-09 00:13:49 +00:00
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
2024-06-14 21:30:35 +00:00
|
|
|
"States": {
|
|
|
|
"fields": {
|
2024-11-23 13:20:32 +00:00
|
|
|
"events": { "type": "array" }
|
2024-06-14 21:30:35 +00:00
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"StrippedStateEvent": {
|
2024-06-09 00:13:49 +00:00
|
|
|
"fields": {
|
|
|
|
"content": {
|
|
|
|
"type": "object",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"sender": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"state_key": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"InvitedRooms": {
|
|
|
|
"fields": {
|
|
|
|
"invite_state": { "type": "InviteState" }
|
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"ClientEventWithoutRoomID": {
|
|
|
|
"fields": {
|
|
|
|
"content": { "type": "object", "required": true },
|
|
|
|
"event_id": { "type": "string", "required": true },
|
|
|
|
"origin_server_ts": { "type": "integer", "required": true },
|
|
|
|
"sender": { "type": "string", "required": true },
|
|
|
|
"state_key": { "type": "string" },
|
2024-09-14 18:00:32 +00:00
|
|
|
"redacts": { "type": "string" },
|
2024-06-09 00:13:49 +00:00
|
|
|
"type": { "type": "string", "required": true }
|
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"Timeline": {
|
|
|
|
"fields": {
|
|
|
|
"events": { "type": "[ClientEventWithoutRoomID]", "required": true },
|
|
|
|
"limited": { "type": "boolean" },
|
|
|
|
"prev_batch": { "type": "string" }
|
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"JoinedRooms": {
|
|
|
|
"fields": {
|
2024-06-14 21:30:35 +00:00
|
|
|
"timeline": { "type": "Timeline" },
|
|
|
|
"state": { "type": "States" }
|
2024-06-09 00:13:49 +00:00
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"Rooms": {
|
|
|
|
"fields": {
|
2024-08-27 16:56:38 +00:00
|
|
|
"invite": { "type": "{InvitedRooms}" },
|
|
|
|
"join": { "type": "{JoinedRooms}" }
|
2024-06-09 00:13:49 +00:00
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
},
|
|
|
|
"SyncResponse": {
|
|
|
|
"fields": {
|
|
|
|
"next_batch": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"account_data": {
|
|
|
|
"type": "AccountData"
|
|
|
|
},
|
|
|
|
"rooms": {
|
|
|
|
"type": "Rooms"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "struct"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|