matrix-js-sdk
    Preparing search index...

    Interface IRTCDeclineContent

    MSC4310 decline event content for org.matrix.msc4310.rtc.decline. Sent as a standard m.reference relation to an org.matrix.msc4075.rtc.notification event.

    interface IRTCDeclineContent {
        "m.new_content"?: undefined;
        "m.relates_to": {
            event_id: string;
            rel_type: Annotation | Reference | Thread;
        };
        msc4354_sticky_key?: string;
    }

    Hierarchy (View Summary)

    Index
    "m.new_content"?: undefined
    "m.relates_to": { event_id: string; rel_type: Annotation | Reference | Thread }
    msc4354_sticky_key?: string

    The sticky key as per MSC4354. Must be equal to the event ID of the notification being declined.

    Optional because servers without MSC4354 support can't deliver the decline as a sticky event. Such a decline still counts, but only for devices that receive it directly, since it isn't re-delivered after a gappy or initial sync.