Member Junction
    Preparing search index...

    The minimal Microsoft Graph cloud-communications surface RealTeamsBindings drives — just the control-plane operations we use. A production wiring implements this over @microsoft/microsoft-graph-client (Client.api('/communications/calls').post(...), etc.); tests inject a fake. NO Graph SDK types leak through this surface.

    interface IGraphCallsLike {
        CreateCall(
            request: GraphCreateCallRequest,
        ): Promise<GraphCreateCallResult>;
        DeleteCall(callId: string): Promise<void>;
        GetParticipants(callId: string): Promise<GraphCallParticipant[]>;
        MuteParticipant(callId: string, participantId: string): Promise<void>;
        OnCallEnded(callId: string, handler: () => void): void;
        OnParticipantsUpdated(
            callId: string,
            handler: (participants: GraphCallParticipant[]) => void,
        ): void;
        PostChatMessage(threadId: string, text: string): Promise<void>;
    }

    Implemented by

    Index

    Methods

    • Mutes a participant (POST /communications/calls/{id}/participants/{pid}/mute).

      Parameters

      • callId: string
      • participantId: string

      Returns Promise<void>

    • Registers the call-ended handler (callEnded / terminated status notification).

      Parameters

      • callId: string
      • handler: () => void

      Returns void

    • Posts a chat message to the meeting thread (POST /chats/{threadId}/messages).

      Parameters

      • threadId: string
      • text: string

      Returns Promise<void>