Skip to main content
Table of Contents

TTMSFNCCloudSlackPrivateChannel.UploadFile Method

Starts a request to upload a file to the conversation.

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

Syntax

FMX.TMSFNCCloudSlack.hppPascalC++
procedure UploadFile(const AFileName: TTMSFNCUtilsFile; AInitialComment: string = ''; ATitle: string = '');
void __fastcall UploadFile(const TTMSFNCUtilsFile AFileName, System::UnicodeString AInitialComment = System::UnicodeString(), System::UnicodeString ATitle = System::UnicodeString());

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.