1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! Types for the *m.room.aliases* event.

use ruma_events_macros::ruma_event;
use ruma_identifiers::RoomAliasId;

ruma_event! {
    /// Informs the room about what room aliases it has been given.
    AliasesEvent {
        kind: StateEvent,
        event_type: "m.room.aliases",
        content: {
            /// A list of room aliases.
            pub aliases: Vec<RoomAliasId>,
        },
    }
}