Packages

c

ackcord.data

OutgoingEmbed

case class OutgoingEmbed(title: Option[String] = None, description: Option[String] = None, url: Option[String] = None, timestamp: Option[OffsetDateTime] = None, color: Option[Int] = None, footer: Option[OutgoingEmbedFooter] = None, image: Option[OutgoingEmbedImage] = None, video: Option[OutgoingEmbedVideo] = None, thumbnail: Option[OutgoingEmbedThumbnail] = None, author: Option[OutgoingEmbedAuthor] = None, fields: Seq[EmbedField] = Seq.empty) extends Product with Serializable

An outgoing embed.

title

The title of the embed.

description

The embed description or main text.

url

The url of the embed.

timestamp

The timestamp of the embed.

color

The color of the embed

footer

The footer part of the embed.

image

The image part of the embed.

thumbnail

The thumbnail part of the embed.

author

The author part of the embed.

fields

The fields of the embed.

Source
message.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OutgoingEmbed
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OutgoingEmbed(title: Option[String] = None, description: Option[String] = None, url: Option[String] = None, timestamp: Option[OffsetDateTime] = None, color: Option[Int] = None, footer: Option[OutgoingEmbedFooter] = None, image: Option[OutgoingEmbedImage] = None, video: Option[OutgoingEmbedVideo] = None, thumbnail: Option[OutgoingEmbedThumbnail] = None, author: Option[OutgoingEmbedAuthor] = None, fields: Seq[EmbedField] = Seq.empty)

    title

    The title of the embed.

    description

    The embed description or main text.

    url

    The url of the embed.

    timestamp

    The timestamp of the embed.

    color

    The color of the embed

    footer

    The footer part of the embed.

    image

    The image part of the embed.

    thumbnail

    The thumbnail part of the embed.

    author

    The author part of the embed.

    fields

    The fields of the embed.

Value Members

  1. val author: Option[OutgoingEmbedAuthor]
  2. val color: Option[Int]
  3. val description: Option[String]
  4. val fields: Seq[EmbedField]
  5. val footer: Option[OutgoingEmbedFooter]
  6. val image: Option[OutgoingEmbedImage]
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product
  8. val thumbnail: Option[OutgoingEmbedThumbnail]
  9. val timestamp: Option[OffsetDateTime]
  10. val title: Option[String]
  11. def totalCharAmount: Int

    The total amount of characters in this embed so far.

  12. val url: Option[String]
  13. val video: Option[OutgoingEmbedVideo]