Type Alias ruma::events::encrypted::SyncEncryptedEvent
source · pub type SyncEncryptedEvent = SyncMessageLikeEvent<EncryptedEventContent>;
Available on crate features
events
and unstable-msc3956
only.Expand description
An org.matrix.msc1767.encrypted
event from a sync_events
response.
Aliased Type§
enum SyncEncryptedEvent {
Original(OriginalSyncMessageLikeEvent<EncryptedEventContent>),
Redacted(RedactedSyncMessageLikeEvent<RedactedEncryptedEventContent>),
}
Variants§
Original(OriginalSyncMessageLikeEvent<EncryptedEventContent>)
Original, unredacted form of the event.
Redacted(RedactedSyncMessageLikeEvent<RedactedEncryptedEventContent>)
Redacted form of the event with minimal fields.