Skip to content

IAttachment

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

A file attached to a comment, with its generated thumbnails.

optional content_type?: string | null

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

The MIME type of the file.

IImage.content_type


optional content_url?: string | null

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

The URL to download the file from.

IImage.content_url


optional deleted?: boolean | null

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

Whether the file has been deleted.

IImage.deleted


optional file_name?: string | null

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

The name of the file.

IImage.file_name


optional height?: number | null

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

The height of the image in pixels.

IImage.height


optional id?: number | null

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

The id of the file, assigned by Zendesk.

IImage.id


optional inline?: boolean | null

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

Whether the file is shown inline in the comment body.

IImage.inline


optional malware_access_override?: boolean | null

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

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

IImage.malware_access_override


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.

IImage.malware_scan_result


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.

IImage.mapped_content_url


optional size?: number | null

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

The size of the file in bytes.

IImage.size


optional thumbnails?: IImage[]

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

Thumbnails Zendesk generated for the attachment.


optional url?: string | null

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

The API URL of the file record.

IImage.url


optional width?: number | null

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

The width of the image in pixels.

IImage.width