Document sending to sessions in the same call.

This commit is contained in:
Joachim Bauch 2024-11-06 10:14:37 +01:00
commit da4c9d88fe
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -868,6 +868,24 @@ Message format (Client -> Server, to all sessions in the same room):
}
}
Message format (Client -> Server, to all sessions in the same call):
{
"id": "unique-request-id",
"type": "message",
"message": {
"recipient": {
"type": "call"
},
"data": {
...object containing the data to send...
}
}
}
Sending to the same call is only available if the feature flag `recipient-call`
is present.
Message format (Server -> Client, receive message)
{