Skip to main content

ConversationAttachment

A file attached to a message.

type ConversationAttachment implements Node, Timestamped {
changesetId: String!
commentId: String!
contentId: String
createdAt: DateTime!
creator: Agent
deliverBy: DateTime
downloadUrl: String
fileName: String
fileSize: String
fileType: String
id: ID!
s3Key: String
scanReport: AttachmentScanReport
ticketId: String!
type: AttachmentType
updatedAt: DateTime!
url: String
}

Fields​

ConversationAttachment.changesetId ● String! non-null scalar common​

The id of a comment's changeset that attachment belongs to.

ConversationAttachment.commentId ● String! non-null scalar common​

The id of a comment that attachment belongs to.

ConversationAttachment.contentId ● String scalar common​

The RFC2387 identifier of the attachment, if from an email.

ConversationAttachment.createdAt ● DateTime! non-null scalar common​

The date and time that the object was created.

ConversationAttachment.creator ● Agent object common​

The user that created the attachment.

ConversationAttachment.deliverBy ● DateTime scalar common​

The date and time that the message was sent. Used to allow for undoing send.

ConversationAttachment.downloadUrl ● String scalar common​

The public direct download URL of the attachment.

ConversationAttachment.fileName ● String scalar common​

The name of the attachment.

ConversationAttachment.fileSize ● String scalar common​

The attachment size in bytes.

ConversationAttachment.fileType ● String scalar common​

The attachment MIME type.

ConversationAttachment.id ● ID! non-null scalar common​

ConversationAttachment.s3Key ● String scalar common​

The attachment s3 key

ConversationAttachment.scanReport ● AttachmentScanReport object common​

The attachment type

ConversationAttachment.ticketId ● String! non-null scalar common​

The id of a ticket that attachment belongs to.

ConversationAttachment.type ● AttachmentType enum common​

The attachment type

ConversationAttachment.updatedAt ● DateTime! non-null scalar common​

The date and time that the object was last updated.

ConversationAttachment.url ● String scalar common​

The public URL of the attachment.

Interfaces​

Node interface common​

An object with an ID.

Timestamped interface common​

An object with timestamp fields for when it was created and last updated.

Member of​

ConversationAttachmentConnection object ● ConversationAttachmentEdge object