Skip to main content
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

FMX.TMSFNCCloudSlack.hppPascalC++
procedure UploadFile(const AFileName: TTMSFNCUtilsFile; AConversations: TTMSFNCCloudSlackConversations = nil; ATitle: string = ''; AInitialComment: string = ''); virtual;
virtual void __fastcall UploadFile(const TTMSFNCUtilsFile AFileName, TTMSFNCCloudSlackConversations* AConversations = (TTMSFNCCloudSlackConversations*)(0x0), System::UnicodeString ATitle = System::UnicodeString(), System::UnicodeString AInitialComment = System::UnicodeString());

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.