Table of Contents

TTMSFNCCloudSlack.PostMessage Method

Starts a request to post a message to the conversation.

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

Overloads

Overload 1

Starts a request to post a message to the conversation.

procedure PostMessage(AConversation: TTMSFNCCloudSlackConversation; AText: string; AThreadTimeStamp: TDateTime = 0; IconURL: string = ''; LinkNames: Boolean = false; MarkUpParsing: Boolean = false; ReplyBroadcast: Boolean = false); overload; virtual;

Parameters

Name Description
AConversation Conversation associated with the request.
AText Text to post to Slack.
AThreadTimeStamp Thread timestamp. Use 0 to post a top-level message.
IconURL Optional icon URL to use for the posted message.
LinkNames True to link user and channel names in the posted text.
MarkUpParsing True to enable Slack markup parsing for the posted text.
ReplyBroadcast True to broadcast a thread reply to the channel.

Overload 2

Starts a request to post a message to the conversation.

procedure PostMessage(AConversationID: string; AText: string; AThreadTimeStamp: TDateTime = 0; IconURL: string = ''; LinkNames: Boolean = false; MarkUpParsing: Boolean = false; ReplyBroadcast: Boolean = false); overload; virtual;

Parameters

Name Description
AConversationID Slack conversation identifier.
AText Text to post to Slack.
AThreadTimeStamp Thread timestamp. Use 0 to post a top-level message.
IconURL Optional icon URL to use for the posted message.
LinkNames True to link user and channel names in the posted text.
MarkUpParsing True to enable Slack markup parsing for the posted text.
ReplyBroadcast True to broadcast a thread reply to the channel.