Attachment
public struct Attachment
Attachment Type
-
The filename for this Attachment
Declaration
Swift
public let filename: String -
Height of image (if image)
Declaration
Swift
public let height: Int? -
ID of attachment
Declaration
Swift
public let id: Snowflake -
The proxied URL for this attachment
Declaration
Swift
public let proxyUrl: String -
Size of the file in bytes
Declaration
Swift
public let size: Int -
The original URL of the attachment
Declaration
Swift
public let url: String -
Width of image (if image)
Declaration
Swift
public let width: Int?
View on GitHub
Attachment Struct Reference