Type Alias ruma::events::room::message::SyncRoomMessageEvent

source ·
pub type SyncRoomMessageEvent = SyncMessageLikeEvent<RoomMessageEventContent>;
Available on crate feature events only.
Expand description

An m.room.message event from a sync_events response.

Aliased Type§

enum SyncRoomMessageEvent {
    Original(OriginalSyncMessageLikeEvent<RoomMessageEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedRoomMessageEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<RoomMessageEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedRoomMessageEventContent>)

Redacted form of the event with minimal fields.