|
|
|
@ -25,24 +25,24 @@ allOf:
|
|
|
|
|
edu_type:
|
|
|
|
|
type: enum
|
|
|
|
|
enum: ['m.direct_to_device']
|
|
|
|
|
description: The string ``m.direct_to_device``
|
|
|
|
|
description: The string ``m.direct_to_device``.
|
|
|
|
|
example: "m.direct_to_device"
|
|
|
|
|
content:
|
|
|
|
|
type: object
|
|
|
|
|
description: The description of the direct-to-device message
|
|
|
|
|
description: The description of the direct-to-device message.
|
|
|
|
|
title: To Device Message
|
|
|
|
|
properties:
|
|
|
|
|
sender:
|
|
|
|
|
type: string
|
|
|
|
|
description: user ID of the sender
|
|
|
|
|
description: User ID of the sender.
|
|
|
|
|
example: "john@example.com"
|
|
|
|
|
type:
|
|
|
|
|
type: string
|
|
|
|
|
description: event type for the message
|
|
|
|
|
description: Event type for the message.
|
|
|
|
|
example: "m.room_key_request"
|
|
|
|
|
message_id:
|
|
|
|
|
type: string
|
|
|
|
|
description: unique ID for the message, used for idempotence. Arbitrary
|
|
|
|
|
description: Unique ID for the message, used for idempotence. Arbitrary
|
|
|
|
|
utf8 string, of maximum length 32 codepoints.
|
|
|
|
|
example: "hiezohf6Hoo7kaev"
|
|
|
|
|
messages:
|
|
|
|
|