Share via


ResponsesUserMessageItemParam Constructors

Definition

Overloads

ResponsesUserMessageItemParam()

Source:
ResponsesUserMessageItemParam.cs

Initializes a new instance of ResponsesUserMessageItemParam for deserialization.

public ResponsesUserMessageItemParam();
Public Sub New ()

Applies to

ResponsesUserMessageItemParam(BinaryData)

Source:
ResponsesUserMessageItemParam.cs

Initializes a new instance of ResponsesUserMessageItemParam.

public ResponsesUserMessageItemParam(BinaryData content);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesUserMessageItemParam : BinaryData -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesUserMessageItemParam
Public Sub New (content As BinaryData)

Parameters

content
BinaryData

The content associated with the message.

Exceptions

content is null.

Applies to

ResponsesUserMessageItemParam(ItemType, IDictionary<String,BinaryData>, ResponsesMessageRole, BinaryData)

Source:
ResponsesUserMessageItemParam.cs

Initializes a new instance of ResponsesUserMessageItemParam.

public ResponsesUserMessageItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageRole role, BinaryData content);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesUserMessageItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesMessageRole * BinaryData -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ResponsesUserMessageItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), role As ResponsesMessageRole, content As BinaryData)

Parameters

type
ItemType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

role
ResponsesMessageRole

The role associated with the message.

content
BinaryData

The content associated with the message.

Applies to