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