matrix-js-sdk

    Type Alias RelatesToRelationship<R>

    An m.relates_to relationship

    type RelatesToRelationship<R = never> = {
        "m.relates_to": {
            event_id: string;
            rel_type: [R] extends [never] ? AnyRelation : TSNamespace<R>;
        };
    }

    Type Parameters

    • R = never
    Index

    Properties

    Properties

    "m.relates_to": {
        event_id: string;
        rel_type: [R] extends [never] ? AnyRelation : TSNamespace<R>;
    }
    MMNEPVFCICPMFPCPTTAAATR