chatkit-node-backend-sdk / ImageAttachment
Interface: ImageAttachment
Defined in: src/types/attachments.ts:30
Attachment representing an image resource.
Extends
AttachmentBase
Properties
id
id:
string
Defined in: src/types/attachments.ts:9
Inherited from
AttachmentBase.id
name
name:
string
Defined in: src/types/attachments.ts:10
Inherited from
AttachmentBase.name
mime_type
mime_type:
string
Defined in: src/types/attachments.ts:11
Inherited from
AttachmentBase.mime_type
upload_url?
optionalupload_url:null|string
Defined in: src/types/attachments.ts:17
The URL to upload the file, used for two-phase upload. Should be set to null after upload is complete or when using direct upload where uploading happens when creating the attachment object.
Inherited from
AttachmentBase.upload_url
type
type:
"image"
Defined in: src/types/attachments.ts:31
preview_url
preview_url:
string
Defined in: src/types/attachments.ts:32