matrix-js-sdk

    Interface IRTCNotificationContent

    Interface for org.matrix.msc4075.rtc.notification events. Don't cast event content to this directly. Use parseCallNotificationContent instead to validate the content first.

    interface IRTCNotificationContent {
        lifetime: number;
        "m.call.intent"?: string;
        "m.mentions"?: IMentions;
        "m.new_content"?: undefined;
        "m.relates_to": {
            event_id: string;
            rel_type: Annotation | Reference | Thread;
        };
        notification_type: RTCNotificationType;
        sender_ts: number;
    }

    Hierarchy (View Summary, Expand)

    Index

    Properties

    lifetime: number
    "m.call.intent"?: string

    The initial intent of the calling user.

    "m.mentions"?: IMentions
    "m.new_content"?: undefined
    "m.relates_to": { event_id: string; rel_type: Annotation | Reference | Thread }
    notification_type: RTCNotificationType
    sender_ts: number
    MMNEPVFCICPMFPCPTTAAATR