Trait ruma_events::RoomEvent [] [src]

pub trait RoomEvent: Event {
    fn event_id(&self) -> &EventId;
fn origin_server_ts(&self) -> u64;
fn room_id(&self) -> &RoomId;
fn sender(&self) -> &UserId;
fn unsigned(&self) -> Option<&Value>; }

An event within the context of a room.

Required Methods

The unique identifier for the event.

Timestamp in milliseconds on originating homeserver when this event was sent.

The unique identifier for the room associated with this event.

The unique identifier for the user who sent this event.

Additional key-value pairs not signed by the homeserver.

Implementors