swaggerify to-device

This commit is contained in:
Matthew Hodgson 2018-09-01 02:37:31 +01:00
parent d789564db7
commit 0f9a23c471
2 changed files with 69 additions and 13 deletions

View file

@ -1020,19 +1020,7 @@ EDU. There are no PDUs or Federation Queries involved.
Each send-to-device message should be sent to the destination server using
the following EDU::
EDU type: m.direct_to_device
Content keys:
sender: user ID of the sender
type: event type for the message
message_id: unique id for the message: used for idempotence
messages: The messages to send. A map from user ID, to a map from device ID
to message body. The device ID may also be *, meaning all known devices
for the user
{{definition_ss_event_schemas_m_direct_to_device}}
Content Repository
------------------