Table of Contents

TTMSFNCCloudSlack.UploadFile Method

Starts a request to upload a file to the conversation.

API unit family: TMSFNCCloudSlack Declaring type: TTMSFNCCloudSlack Inherited from: TTMSFNCCustomCloudSlack

Syntax

procedure UploadFile(const AFileName: TTMSFNCUtilsFile; AConversations: TTMSFNCCloudSlackConversations = nil; ATitle: string = ''; AInitialComment: string = ''); virtual;

Parameters

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