TTMSMCPPromptMessages.AddUserMessage Method
Appends a message spoken by the user.
API unit family: TMS.MCP.Prompts
Declaring type: TTMSMCPPromptMessages
Syntax
function AddUserMessage(const Text: string): TTMSMCPPromptMessage;
Parameters
| Name | Description |
|---|---|
Text |
Content of the message. |
Returns
The new message, which stays owned by the collection.