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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val contentType: Option[String]
- val description: Option[String]
- val ephemeral: Option[Boolean]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val filename: Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val height: Option[Int]
- val id: SnowflakeType[Attachment]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val proxyUrl: Option[String]
- val size: Option[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val url: Option[String]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val width: Option[Int]