ChatMessageRequest(String, String, String, ChatHistoryMessage[]) 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 the ChatMessageRequest class.
public ChatMessageRequest(string conversationId, string messageId, string userMessage, Microsoft.Agents.A365.Tooling.Models.ChatHistoryMessage[] chatHistory);
new Microsoft.Agents.A365.Tooling.Models.ChatMessageRequest : string * string * string * Microsoft.Agents.A365.Tooling.Models.ChatHistoryMessage[] -> Microsoft.Agents.A365.Tooling.Models.ChatMessageRequest
Public Sub New (conversationId As String, messageId As String, userMessage As String, chatHistory As ChatHistoryMessage())
Parameters
- conversationId
- String
The unique identifier for the conversation.
- messageId
- String
The unique identifier for the message within the conversation.
- userMessage
- String
The content of the user's message.
- chatHistory
- ChatHistoryMessage[]
The chat history messages.