Table of Contents

TTMSMCPSamplingRequestBuilder.AddImageMessage Method

Appends an image turn attributed to the user.

API unit family: TMS.MCP.Sampling Declaring type: TTMSMCPSamplingRequestBuilder

Syntax

function AddImageMessage(const AData, AMimeType: string): TTMSMCPSamplingRequestBuilder;

Parameters

Name Description
AData Image bytes, base64-encoded.
AMimeType Media type of the image, for example 'image/png'.

Returns

The builder, so that further calls can be chained.