VoiceLiveModelFactory.UserMessageItem 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 user message item within a conversation.
public static Azure.AI.VoiceLive.UserMessageItem UserMessageItem(string id = default, System.Collections.Generic.IEnumerable<Azure.AI.VoiceLive.MessageContentPart> content = default, Azure.AI.VoiceLive.ItemParamStatus? status = default);
static member UserMessageItem : string * seq<Azure.AI.VoiceLive.MessageContentPart> * Nullable<Azure.AI.VoiceLive.ItemParamStatus> -> Azure.AI.VoiceLive.UserMessageItem
Public Shared Function UserMessageItem (Optional id As String = Nothing, Optional content As IEnumerable(Of MessageContentPart) = Nothing, Optional status As Nullable(Of ItemParamStatus) = Nothing) As UserMessageItem
Parameters
- id
- String
- content
- IEnumerable<MessageContentPart>
The content parts of the message.
- status
- Nullable<ItemParamStatus>
Processing status of the message item.
Returns
A new UserMessageItem instance for mocking.