Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Attachment

Edward Smale edited this page Apr 6, 2020 · 4 revisions

Attachment

Represents an attachment.

Properties

.client (Client) The client that initiated the object

.id (Number) The ID of the attachment.

.content_type (String) The type of content that the attachment contains.

.filename (String) The name of the attachment file.

.file_size (Number) The size of the file in bytes.

.user_id (Number) The ID of the user that created the attachment.

.file_url (String) The URL where the file is hosted.

.preview_url (String) The URL of the file preview, if available.

.third_party_provider (String) The name of the third party who provided the file, if available.

.third_party_shared_link (String) The link to the third party hosted file.

.created_timestamp (Number) The timestamp when the attachment was first created.

.updated_timestamp (Number) The timestamp when the attachment was last updated.

.is_previewable (Boolean) Whether the attachment is previewable or not.

.for_logged_in_only (Boolean) Whether the attachment can be viewed by only those logged in or not.

Clone this wiki locally