TTMSFNCCloudSlack.GetConversationHistory Method
Starts a request for messages in a Slack conversation.
API unit family: TMSFNCCloudSlack
Declaring type: TTMSFNCCloudSlack
Inherited from: TTMSFNCCustomCloudSlack
Overloads
Overload 1
Starts a request for messages in a Slack conversation.
procedure GetConversationHistory(AConversationID: string; ALimit: Integer = 100; Latest: TDateTime = 0; Oldest: TDateTime = 0; Inclusive: Boolean = False; ANextCursor: string = ''); overload; virtual;
Parameters
| Name | Description |
|---|---|
AConversationID |
Slack conversation identifier. |
ALimit |
Maximum number of items to request. |
Latest |
Newest timestamp to include. Use 0 to leave the upper bound open. |
Oldest |
Oldest timestamp to include. Use 0 to leave the lower bound open. |
Inclusive |
True to include messages at the boundary timestamps. |
ANextCursor |
Paging cursor returned by a previous request. |
Overload 2
Starts a request for messages in a Slack conversation.
procedure GetConversationHistory(AConversation: TTMSFNCCloudSlackConversation; ALimit: Integer = 100; Latest: TDateTime = 0; Oldest: TDateTime = 0; Inclusive: Boolean = False; ANextCursor: string = ''); overload; virtual;
Parameters
| Name | Description |
|---|---|
AConversation |
Conversation associated with the request. |
ALimit |
Maximum number of items to request. |
Latest |
Newest timestamp to include. Use 0 to leave the upper bound open. |
Oldest |
Oldest timestamp to include. Use 0 to leave the lower bound open. |
Inclusive |
True to include messages at the boundary timestamps. |
ANextCursor |
Paging cursor returned by a previous request. |