1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//! Types for the *m.key.verification.key* event. use ruma_events_macros::ruma_event; ruma_event! { /// Sends the ephemeral public key for a device to the partner device. /// /// Typically sent as a to-device event. KeyEvent { kind: Event, event_type: "m.key.verification.key", content: { /// An opaque identifier for the verification process. /// /// Must be the same as the one used for the *m.key.verification.start* message. pub transaction_id: String, /// The device's ephemeral public key, encoded as unpadded Base64. pub key: String, }, } }