matrix_sdk::ruma::events::room::message

Type Alias 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.