IAttachment
Defined in: attachments/attachments.types.ts:32
A file attached to a comment, with its generated thumbnails.
Extends
Section titled “Extends”Properties
Section titled “Properties”content_type?
Section titled “content_type?”
optionalcontent_type?:string|null
Defined in: attachments/attachments.types.ts:4
The MIME type of the file.
Inherited from
Section titled “Inherited from”content_url?
Section titled “content_url?”
optionalcontent_url?:string|null
Defined in: attachments/attachments.types.ts:6
The URL to download the file from.
Inherited from
Section titled “Inherited from”deleted?
Section titled “deleted?”
optionaldeleted?:boolean|null
Defined in: attachments/attachments.types.ts:8
Whether the file has been deleted.
Inherited from
Section titled “Inherited from”file_name?
Section titled “file_name?”
optionalfile_name?:string|null
Defined in: attachments/attachments.types.ts:10
The name of the file.
Inherited from
Section titled “Inherited from”height?
Section titled “height?”
optionalheight?:number|null
Defined in: attachments/attachments.types.ts:12
The height of the image in pixels.
Inherited from
Section titled “Inherited from”
optionalid?:number|null
Defined in: attachments/attachments.types.ts:14
The id of the file, assigned by Zendesk.
Inherited from
Section titled “Inherited from”inline?
Section titled “inline?”
optionalinline?:boolean|null
Defined in: attachments/attachments.types.ts:16
Whether the file is shown inline in the comment body.
Inherited from
Section titled “Inherited from”malware_access_override?
Section titled “malware_access_override?”
optionalmalware_access_override?:boolean|null
Defined in: attachments/attachments.types.ts:18
Whether the malware-scan block on the file has been overridden.
Inherited from
Section titled “Inherited from”IImage.malware_access_override
malware_scan_result?
Section titled “malware_scan_result?”
optionalmalware_scan_result?:"malware_found"|"malware_not_found"|"failed_to_scan"|"not_scanned"|null
Defined in: attachments/attachments.types.ts:20
Outcome of Zendesk’s malware scan of the file.
Inherited from
Section titled “Inherited from”mapped_content_url?
Section titled “mapped_content_url?”
optionalmapped_content_url?:string|null
Defined in: attachments/attachments.types.ts:22
The URL where the file is served from, as mapped by Zendesk.
Inherited from
Section titled “Inherited from”
optionalsize?:number|null
Defined in: attachments/attachments.types.ts:24
The size of the file in bytes.
Inherited from
Section titled “Inherited from”thumbnails?
Section titled “thumbnails?”
optionalthumbnails?:IImage[]
Defined in: attachments/attachments.types.ts:34
Thumbnails Zendesk generated for the attachment.
optionalurl?:string|null
Defined in: attachments/attachments.types.ts:26
The API URL of the file record.
Inherited from
Section titled “Inherited from”width?
Section titled “width?”
optionalwidth?:number|null
Defined in: attachments/attachments.types.ts:28
The width of the image in pixels.