Type Alias matrix_sdk::ruma::events::room::message::RoomMessageEvent

source ·
pub type RoomMessageEvent = MessageLikeEvent<RoomMessageEventContent>;
Expand description

An m.room.message event.

Aliased Type§

enum RoomMessageEvent {
    Original(OriginalMessageLikeEvent<RoomMessageEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedRoomMessageEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<RoomMessageEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedRoomMessageEventContent>)

Redacted form of the event with minimal fields.