Interface StateEvents

Mapped type from event type to content type for all specified room state events.

interface StateEvents {
    m.policy.rule.room: Without<PolicyRuleEventContent, {}> | Without<{}, PolicyRuleEventContent> & PolicyRuleEventContent;
    m.policy.rule.server: Without<PolicyRuleEventContent, {}> | Without<{}, PolicyRuleEventContent> & PolicyRuleEventContent;
    m.policy.rule.user: Without<PolicyRuleEventContent, {}> | Without<{}, PolicyRuleEventContent> & PolicyRuleEventContent;
    m.room.avatar: RoomAvatarEventContent;
    m.room.canonical_alias: RoomCanonicalAliasEventContent;
    m.room.create: RoomCreateEventContent;
    m.room.encryption: RoomEncryptionEventContent;
    m.room.guest_access: RoomGuestAccessEventContent;
    m.room.history_visibility: RoomHistoryVisibilityEventContent;
    m.room.join_rules: RoomJoinRulesEventContent;
    m.room.member: RoomMemberEventContent;
    m.room.name: RoomNameEventContent;
    m.room.pinned_events: RoomPinnedEventsEventContent;
    m.room.power_levels: RoomPowerLevelsEventContent;
    m.room.server_acl: RoomServerAclEventContent;
    m.room.third_party_invite: Without<RoomThirdPartyInviteEventContent, {}> | Without<{}, RoomThirdPartyInviteEventContent> & RoomThirdPartyInviteEventContent;
    m.room.tombstone: RoomTombstoneEventContent;
    m.room.topic: RoomTopicEventContent;
    m.space.child: SpaceChildEventContent;
    m.space.parent: SpaceParentEventContent;
    org.example.foo: {
        hello: string;
    };
    org.matrix.msc3089.branch: MSC3089EventContent;
    org.matrix.msc3401.call: IGroupCallRoomState;
    org.matrix.msc3401.call.member: (Without<(Without<IGroupCallRoomMemberState, ExperimentalGroupCallRoomMemberState> & ExperimentalGroupCallRoomMemberState) | (Without<...> & IGroupCallRoomMemberState), Without<...> | (Without<...> & SessionMembershipData)> & (Without<...> | (Without<...> & SessionMembershipData))) | (Without<Without<SessionMembershipData, {}> | (Without<{}, SessionMembershipData> & SessionMembershipData), (Without<...> & ExperimentalGroupCallRoomMemberState) | (Without<...> & IGroupCallRoomMemberState)> & ((Without<...> & ExperimentalGroupCallRoomMemberState) | (Without<...> & IGroupCallRoomMemberState)));
    org.matrix.msc3672.beacon_info: MBeaconInfoEventContent;
}

Properties

m.room.avatar: RoomAvatarEventContent
m.room.canonical_alias: RoomCanonicalAliasEventContent
m.room.create: RoomCreateEventContent
m.room.encryption: RoomEncryptionEventContent
m.room.guest_access: RoomGuestAccessEventContent
m.room.history_visibility: RoomHistoryVisibilityEventContent
m.room.join_rules: RoomJoinRulesEventContent
m.room.member: RoomMemberEventContent
m.room.pinned_events: RoomPinnedEventsEventContent
m.room.power_levels: RoomPowerLevelsEventContent
m.room.server_acl: RoomServerAclEventContent
m.room.tombstone: RoomTombstoneEventContent
m.room.topic: RoomTopicEventContent
m.space.child: SpaceChildEventContent
m.space.parent: SpaceParentEventContent
org.example.foo: {
    hello: string;
}
org.matrix.msc3089.branch: MSC3089EventContent
org.matrix.msc3401.call: IGroupCallRoomState
org.matrix.msc3401.call.member: (Without<(Without<IGroupCallRoomMemberState, ExperimentalGroupCallRoomMemberState> & ExperimentalGroupCallRoomMemberState) | (Without<...> & IGroupCallRoomMemberState), Without<...> | (Without<...> & SessionMembershipData)> & (Without<...> | (Without<...> & SessionMembershipData))) | (Without<Without<SessionMembershipData, {}> | (Without<{}, SessionMembershipData> & SessionMembershipData), (Without<...> & ExperimentalGroupCallRoomMemberState) | (Without<...> & IGroupCallRoomMemberState)> & ((Without<...> & ExperimentalGroupCallRoomMemberState) | (Without<...> & IGroupCallRoomMemberState)))
org.matrix.msc3672.beacon_info: MBeaconInfoEventContent