MessageItem Constructor
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.
Initializes a new instance of MessageItem.
public MessageItem(Azure.AI.VoiceLive.ResponseMessageRole role, System.Collections.Generic.IEnumerable<Azure.AI.VoiceLive.MessageContentPart> content);
new Azure.AI.VoiceLive.MessageItem : Azure.AI.VoiceLive.ResponseMessageRole * seq<Azure.AI.VoiceLive.MessageContentPart> -> Azure.AI.VoiceLive.MessageItem
Public Sub New (role As ResponseMessageRole, content As IEnumerable(Of MessageContentPart))
Parameters
- role
- ResponseMessageRole
The role of the message origionator.
- content
- IEnumerable<MessageContentPart>
The content parts of the message.
Exceptions
content is null.