example_custom_events

Type Alias PingEvent

Source
pub type PingEvent = MessageLikeEvent<PingEventContent>;
Expand description

An rs.matrix-sdk.example.ping event.

Aliased Type§

enum PingEvent {
    Original(OriginalMessageLikeEvent<PingEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedPingEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<PingEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedPingEventContent>)

Redacted form of the event with minimal fields.