TTMSFNCCloudSlackFile Class
Stores metadata and downloaded content for a Slack file.
API unit family: TMSFNCCloudSlack
Syntax
TTMSFNCCloudSlackFile = class
Properties
| Name | Description |
|---|---|
| CommentsCount | Gets the number of comments reported for the file. |
| Created | Gets the creation timestamp. |
| FileType | Gets the Slack file type. |
| ID | Gets or sets the Slack identifier. |
| IsDisplayedAsBot | Gets whether the file is displayed as a bot. True means Slack displays the file as bot content. |
| IsEditable | Gets whether the file is editable. True means Slack reports the file as editable. |
| IsExternal | Gets whether the file is external. True means Slack reports an externally hosted file. |
| IsPreviewTruncated | Gets whether the preview is truncated. True means Slack shortened the preview text. |
| IsPublic | Gets whether the file is public. True means Slack reports public visibility. |
| IsStarred | Gets whether the item is starred. True means Slack reports the item as starred. |
| Lines | Gets the number of preview lines. |
| MimeType | Gets the MIME type reported for the file. |
| Mode | Gets the Slack file mode. |
| Name | Gets the Slack name. |
| OriginalHeight | Gets the original image height in pixels. |
| OriginalWidth | Gets the original image width in pixels. |
| Preview | Gets the text preview for the file. |
| PreviewHighlight | Gets the highlighted text preview for the file. |
| Size | Gets the file size in bytes. |
| TimeStamp | Gets the Slack timestamp converted to a date/time value. |
| Title | Gets the title reported by Slack. |
| URLPrivate | Gets the private URL for the file. |
| URLPrivateDownload | Gets the private download URL for the file. |
| User | Gets the Slack user object. |
Methods
| Name | Description |
|---|---|
| Download | Starts a request to download the file content. |