VoiceLiveModelFactory.SessionResponseMessageItem 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.
Base type for message item within a conversation.
public static Azure.AI.VoiceLive.SessionResponseMessageItem SessionResponseMessageItem(string id = default, string object = default, Azure.AI.VoiceLive.ResponseMessageRole role = default, System.Collections.Generic.IEnumerable<Azure.AI.VoiceLive.VoiceLiveContentPart> content = default, Azure.AI.VoiceLive.SessionResponseItemStatus status = default);
static member SessionResponseMessageItem : string * string * Azure.AI.VoiceLive.ResponseMessageRole * seq<Azure.AI.VoiceLive.VoiceLiveContentPart> * Azure.AI.VoiceLive.SessionResponseItemStatus -> Azure.AI.VoiceLive.SessionResponseMessageItem
Public Shared Function SessionResponseMessageItem (Optional id As String = Nothing, Optional object As String = Nothing, Optional role As ResponseMessageRole = Nothing, Optional content As IEnumerable(Of VoiceLiveContentPart) = Nothing, Optional status As SessionResponseItemStatus = Nothing) As SessionResponseMessageItem
Parameters
- id
- String
- object
- String
- role
- ResponseMessageRole
- content
- IEnumerable<VoiceLiveContentPart>
- status
- SessionResponseItemStatus
Returns
A new SessionResponseMessageItem instance for mocking.