Skip to main content
Table of Contents

TTMSMCPPromptMessages.Add Method

Appends an empty message and returns it so its speaker and text can be set.

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

Syntax

TMS.MCP.Prompts.hppPascalC++
function Add: TTMSMCPPromptMessage; overload;
HIDESBASE TTMSMCPPromptMessage* __fastcall Add()/* overload */;

Returns

The new message, which stays owned by the collection. Its content type is already text.