ruma::events::room::avatar

Type Alias PossiblyRedactedRoomAvatarEventContent

Source
pub type PossiblyRedactedRoomAvatarEventContent = RoomAvatarEventContent;
Available on crate feature events only.
Expand description

The possibly redacted form of RoomAvatarEventContent.

This type is used when it’s not obvious whether the content is redacted or not.

Aliased Type§

struct PossiblyRedactedRoomAvatarEventContent {
    pub info: Option<Box<ImageInfo>>,
    pub url: Option<OwnedMxcUri>,
}

Fields§

§info: Option<Box<ImageInfo>>

Information about the avatar image.

§url: Option<OwnedMxcUri>

URL of the avatar image.