Skip to content

IImage

Defined in: attachments/attachments.types.ts:2

An image file stored by Zendesk, such as an attachment or one of its thumbnails.

optional content_type?: string | null

Defined in: attachments/attachments.types.ts:4

The MIME type of the file.


optional content_url?: string | null

Defined in: attachments/attachments.types.ts:6

The URL to download the file from.


optional deleted?: boolean | null

Defined in: attachments/attachments.types.ts:8

Whether the file has been deleted.


optional file_name?: string | null

Defined in: attachments/attachments.types.ts:10

The name of the file.


optional height?: number | null

Defined in: attachments/attachments.types.ts:12

The height of the image in pixels.


optional id?: number | null

Defined in: attachments/attachments.types.ts:14

The id of the file, assigned by Zendesk.


optional inline?: boolean | null

Defined in: attachments/attachments.types.ts:16

Whether the file is shown inline in the comment body.


optional malware_access_override?: boolean | null

Defined in: attachments/attachments.types.ts:18

Whether the malware-scan block on the file has been overridden.


optional malware_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.


optional mapped_content_url?: string | null

Defined in: attachments/attachments.types.ts:22

The URL where the file is served from, as mapped by Zendesk.


optional size?: number | null

Defined in: attachments/attachments.types.ts:24

The size of the file in bytes.


optional url?: string | null

Defined in: attachments/attachments.types.ts:26

The API URL of the file record.


optional width?: number | null

Defined in: attachments/attachments.types.ts:28

The width of the image in pixels.