matrix_sdk::ruma::events::room::avatar

Type Alias StrippedRoomAvatarEvent

Source
pub type StrippedRoomAvatarEvent = StrippedStateEvent<RoomAvatarEventContent>;
Expand description

An m.room.avatar event from an invited room preview.

Aliased Type§

struct StrippedRoomAvatarEvent {
    pub content: RoomAvatarEventContent,
    pub sender: OwnedUserId,
    pub state_key: EmptyStateKey,
}

Fields§

§content: RoomAvatarEventContent

Data specific to the event type.

§sender: OwnedUserId

The fully-qualified ID of the user who sent this event.

§state_key: EmptyStateKey

A unique key which defines the overwriting semantics for this piece of room state.

This is often an empty string, but some events send a UserId to show which user the event affects.