interface VoipEvent {
    content:
        | MCallAnswer
        | MCallSelectAnswer
        | MCallInviteNegotiate
        | MCallReplacesEvent
        | MCallCandidates
        | MCallHangupReject
        | Omit<MCallInviteNegotiate, "offer">
        | MCallBase & {
            org.matrix.msc3077.sdp_stream_metadata: SDPStreamMetadata;
        };
    eventType: string;
    opponentDeviceId?: string;
    roomId?: string;
    type: "toDevice" | "sendEvent";
    userId?: string;
}

Properties

content:
    | MCallAnswer
    | MCallSelectAnswer
    | MCallInviteNegotiate
    | MCallReplacesEvent
    | MCallCandidates
    | MCallHangupReject
    | Omit<MCallInviteNegotiate, "offer">
    | MCallBase & {
        org.matrix.msc3077.sdp_stream_metadata: SDPStreamMetadata;
    }
eventType: string
opponentDeviceId?: string
roomId?: string
type: "toDevice" | "sendEvent"
userId?: string