Table of Contents

TTMSFNCCloudSlackPublicChannel.UploadFile Method

Starts a request to upload a file to the conversation.

API unit family: TMSFNCCloudSlack Declaring type: TTMSFNCCloudSlackPublicChannel Inherited from: TTMSFNCCloudSlackConversation

Syntax

procedure UploadFile(const AFileName: TTMSFNCUtilsFile; AInitialComment: string = ''; ATitle: string = '');

Parameters

Name Description
AFileName File name or path to upload.
AInitialComment Initial comment to add with the uploaded file.
ATitle Title to assign to the uploaded file.