matrix_sdk::ruma::events::beacon_info

Type Alias InitialBeaconInfoEvent

Source
pub type InitialBeaconInfoEvent = InitialStateEvent<BeaconInfoEventContent>;
Available on crate feature unstable-msc3489 only.
Expand description

An org.matrix.msc3672.beacon_info event for creating a room.

Aliased Type§

struct InitialBeaconInfoEvent {
    pub content: BeaconInfoEventContent,
    pub state_key: OwnedUserId,
}

Fields§

§content: BeaconInfoEventContent

Data specific to the event type.

§state_key: OwnedUserId

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.

Defaults to the empty string.