Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit dba50f4

Browse files
[bot]update openapi3 schema
1 parent 17a931b commit dba50f4

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

build/chat-openapi3.yaml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,24 @@ components:
8888
- v0.1.0-alpha.0
8989
- v1.0.0-beta.1
9090
- v1.0.0
91+
models.EncryptedMessageData:
92+
type: object
93+
required:
94+
- data
95+
- dest_id
96+
properties:
97+
data:
98+
type: string
99+
dest_id:
100+
type: string
101+
description: |-
102+
"EncryptedMessageData" is encrypted message data with unencrypted metadata. The amount of
103+
metadata that is not encrypted is kept to an absolute minimum but is required, so that the
104+
server can know who to attempt to deliver the message to.
105+
106+
Namely, this unencrypted metadata is the `dest_id`, short for "destination identifer".
107+
This is the identifier of the channel, group or user to which the message should be
108+
delivered.
91109
models.actor.Actor:
92110
type: object
93111
required:
@@ -129,21 +147,7 @@ components:
129147
data:
130148
anyOf:
131149
- $ref: '#/components/schemas/models.channel.ChannelData'
132-
- type: object
133-
required:
134-
- data
135-
- mls_epoch_number
136-
- mls_group_id
137-
properties:
138-
data:
139-
$ref: '#/components/schemas/models.channel.ChannelData'
140-
mls_epoch_number:
141-
type: integer
142-
format: uint64
143-
mls_group_id:
144-
type: string
145-
_padding:
146-
type: string
150+
- $ref: '#/components/schemas/models.EncryptedMessageData'
147151
models.channel.ChannelData:
148152
type: object
149153
required:

0 commit comments

Comments
 (0)