Interface IRoomInitialSyncResponse

interface IRoomInitialSyncResponse {
    account_data?: IMinimalEvent[];
    membership: "join" | "invite" | "leave" | "ban";
    messages?: {
        chunk: IEventWithRoomId[];
        end?: string;
        start?: string;
    };
    presence: Partial<IEvent>;
    room_id: string;
    state?: IStateEventWithRoomId[];
    visibility: Visibility;
}

Properties

account_data?: IMinimalEvent[]
membership: "join" | "invite" | "leave" | "ban"
messages?: {
    chunk: IEventWithRoomId[];
    end?: string;
    start?: string;
}

Type declaration

presence: Partial<IEvent>
room_id: string
visibility: Visibility

Generated using TypeDoc