Package version:

CallConnection class represents call connection based APIs.

Constructors

  • Parameters

    • callConnectionId: string
    • endpoint: string
    • credential: any
    • Optionaloptions: CallAutomationApiClientOptionalParams

    Returns CallConnection

Methods

  • Get a participant from the call

    Parameters

    • targetParticipant: CommunicationIdentifier

      The communication identifier of requested participant.

    • options: OperationOptions = {}

    Returns Promise<CallParticipant>

  • Hang up the call for itself or terminate the whole call.

    Parameters

    • isForEveryone: boolean
    • options: OperationOptions = {}

    Returns Promise<void>