Type Alias ruma_events::room::message::SyncRoomMessageEvent

source ·
pub type SyncRoomMessageEvent = SyncMessageLikeEvent<RoomMessageEventContent>;
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.