ProjectsAgentsModelFactory.TelephonyTransferTarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A named destination to which the voice agent may transfer a call.
public static Azure.AI.Projects.Agents.TelephonyTransferTarget TelephonyTransferTarget(string name = default, string description = default, Azure.AI.Projects.Agents.TelephonyTransferDestination destination = default);
static member TelephonyTransferTarget : string * string * Azure.AI.Projects.Agents.TelephonyTransferDestination -> Azure.AI.Projects.Agents.TelephonyTransferTarget
Public Shared Function TelephonyTransferTarget (Optional name As String = Nothing, Optional description As String = Nothing, Optional destination As TelephonyTransferDestination = Nothing) As TelephonyTransferTarget
Parameters
- name
- String
The unique name exposed to the voice agent for this transfer target.
- description
- String
A description that helps the voice agent decide when to use this target.
- destination
- TelephonyTransferDestination
The provider-specific transfer destination.
Returns
A new TelephonyTransferTarget instance for mocking.