Skip to main content
Table of Contents

TTMSMCPPromptMessages.AddUserMessage Method

Appends a message spoken by the user.

API unit family: TMS.MCP.Prompts Declaring type: TTMSMCPPromptMessages

Syntax

TMS.MCP.Prompts.hppPascalC++
function AddUserMessage(const Text: string): TTMSMCPPromptMessage;
TTMSMCPPromptMessage* __fastcall AddUserMessage(const System::UnicodeString Text);

Parameters

Name Description
Text Content of the message.

Returns

The new message, which stays owned by the collection.