fix example?

matthew/to-device
Matthew Hodgson 6 years ago
parent 0f9a23c471
commit 2c0b45fd14

@ -51,16 +51,17 @@ allOf:
The contents of the messages to be sent. These are arranged in The contents of the messages to be sent. These are arranged in
a map of user IDs to a map of device IDs to message bodies. a map of user IDs to a map of device IDs to message bodies.
The device ID may also be *, meaning all known devices for the user. The device ID may also be *, meaning all known devices for the user.
example: { example: |-
"alice@example.org": { {
"IWHQUZUIAH": { "alice@example.org": {
"algorithm": "m.megolm.v1.aes-sha2", "IWHQUZUIAH": {
"room_id": "!Cuyf34gef24t:localhost", "algorithm": "m.megolm.v1.aes-sha2",
"session_id": "X3lUlvLELLYxeTx4yOVu6UDpasGEVO0Jbu+QFnm0cKQ", "room_id": "!Cuyf34gef24t:localhost",
"session_key": "AgAAAADxKHa9uFxcXzwYoNueL5Xqi69IkD4sni8LlfJL7qNBEY..." "session_id": "X3lUlvLELLYxeTx4yOVu6UDpasGEVO0Jbu+QFnm0cKQ",
"session_key": "AgAAAADxKHa9uFxcXzwYoNueL5Xqi69IkD4sni8LlfJL7qNBEY..."
}
} }
} }
}
required: required:
- sender - sender
- type - type

Loading…
Cancel
Save