matrix-js-sdk

    Interface IRoom

    interface IRoom {
        _accountData: { [eventType: string]: IMinimalEvent };
        _currentState: { [eventType: string]: { [stateKey: string]: IStateEvent } };
        _receipts: ReceiptAccumulator;
        _stickyEvents: {
            event: IStickyEvent | IStickyStateEvent;
            expiresTs: number;
        }[];
        _summary: Partial<IRoomSummary>;
        _timeline: { event: IRoomEvent | IStateEvent; token: null | string }[];
        _unreadNotifications: Partial<UnreadNotificationCounts>;
        _unreadThreadNotifications?: Record<
            string,
            Partial<UnreadNotificationCounts>,
        >;
    }
    Index

    Properties

    _accountData: { [eventType: string]: IMinimalEvent }
    _currentState: { [eventType: string]: { [stateKey: string]: IStateEvent } }
    _stickyEvents: { event: IStickyEvent | IStickyStateEvent; expiresTs: number }[]

    Type Declaration

    • Readonlyevent: IStickyEvent | IStickyStateEvent
    • ReadonlyexpiresTs: number

      This is the timestamp at which point it is safe to remove this event from the store. This value is immutable

    _timeline: { event: IRoomEvent | IStateEvent; token: null | string }[]
    _unreadNotifications: Partial<UnreadNotificationCounts>
    _unreadThreadNotifications?: Record<string, Partial<UnreadNotificationCounts>>
    MMNEPVFCICPMFPCPTTAAATR