CommentEventAttachment
A file attachment associated to a comment event.
# A file attachment associated to a comment event. type CommentEventAttachment { # The file extension of the comment event attachment, indicating the file format. fileExtension: String# Globally unique identifier. id: ID!
# The image attached to the comment event. image( # Crops the image according to the specified region. This argument is # deprecated: Use
crop
onImage.transformedSrc
instead. crop: CropRegion# Image height in pixels between 1 and 2048. This argument is deprecated: Use #
maxHeight
onImage.transformedSrc
instead. maxHeight: Int# Image width in pixels between 1 and 2048. This argument is deprecated: Use
maxWidth
onImage.transformedSrc
instead. maxWidth: Int# Image size multiplier for high-resolution retina displays. Must be between 1 # and 3. This argument is deprecated: Use
scale
onImage.transformedSrc
instead. scale: Int = 1 ): Image# The filename of the comment event attachment. name: String!
# The size of the attachment. size: Int!
# The URL of the attachment. url: URL! }
Fields
fileExtension
(String
)
The file extension of the comment event attachment, indicating the file format.
image
(Image
)
The image attached to the comment event.
Argument | Type | Default | Description |
---|---|---|---|
crop
|
CropRegion
|
|
Crops the image according to the specified region. This argument is deprecated: Use |
maxHeight
|
Int
|
|
Image height in pixels between 1 and 2048. This argument is deprecated: Use |
maxWidth
|
Int
|
|
Image width in pixels between 1 and 2048. This argument is deprecated: Use |
scale
|
Int
|
|
Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use |