example_custom_events

Type Alias SyncPingEvent

Source
pub type SyncPingEvent = SyncMessageLikeEvent<PingEventContent>;
Expand description

An rs.matrix-sdk.example.ping event from a sync_events response.

Aliased Type§

enum SyncPingEvent {
    Original(OriginalSyncMessageLikeEvent<PingEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedPingEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<PingEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedPingEventContent>)

Redacted form of the event with minimal fields.