case class PartialAttachment(id: SnowflakeType[Attachment], filename: Option[String], description: Option[String], contentType: Option[String], size: Option[Int], url: Option[String], proxyUrl: Option[String], height: Option[Int], width: Option[Int], ephemeral: Option[Boolean]) extends Product with Serializable
An partial attachment for an outgoing message
- id
The id of the attachment
- filename
The filename of the attachment
- description
Description of the attachment
- contentType
The attachment's media type
- size
The file size in bytes
- url
The url of the attachment
- proxyUrl
The proxyUrl of the attachment
- height
The height of the attachment if it's an image
- width
The width of the attachment if it's an image
- Source
- message.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PartialAttachment
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PartialAttachment(id: SnowflakeType[Attachment], filename: Option[String], description: Option[String], contentType: Option[String], size: Option[Int], url: Option[String], proxyUrl: Option[String], height: Option[Int], width: Option[Int], ephemeral: Option[Boolean])
- id
The id of the attachment
- filename
The filename of the attachment
- description
Description of the attachment
- contentType
The attachment's media type
- size
The file size in bytes
- url
The url of the attachment
- proxyUrl
The proxyUrl of the attachment
- height
The height of the attachment if it's an image
- width
The width of the attachment if it's an image
Value Members
- val contentType: Option[String]
- val description: Option[String]
- val ephemeral: Option[Boolean]
- val filename: Option[String]
- val height: Option[Int]
- val id: SnowflakeType[Attachment]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val proxyUrl: Option[String]
- val size: Option[Int]
- val url: Option[String]
- val width: Option[Int]