Packages

case class CreateMessageData(content: String = "", nonce: Option[Either[String, RawSnowflake]] = None, tts: Boolean = false, files: Seq[CreateMessageFile] = Seq.empty, embeds: Seq[OutgoingEmbed] = Seq.empty, allowedMentions: AllowedMention = AllowedMention.all, replyTo: Option[MessageId] = None, replyFailIfNotExist: Boolean = true, components: Seq[ActionRow] = Nil, stickerIds: Seq[StickerId] = Nil) extends Product with Serializable

content

The content of the message.

nonce

A nonce used for optimistic message sending (up to 25 characters).

tts

If this is a text-to-speech message.

files

The files to send with this message. You can reference these files in the embed using attachment://filename.

embeds

Embeds to send with this message.

replyTo

The message to reply to

replyFailIfNotExist

Fail the reply if the message to reply to does not exist.

Source
channelRequests.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateMessageData
  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 CreateMessageData(content: String = "", nonce: Option[Either[String, RawSnowflake]] = None, tts: Boolean = false, files: Seq[CreateMessageFile] = Seq.empty, embeds: Seq[OutgoingEmbed] = Seq.empty, allowedMentions: AllowedMention = AllowedMention.all, replyTo: Option[MessageId] = None, replyFailIfNotExist: Boolean = true, components: Seq[ActionRow] = Nil, stickerIds: Seq[StickerId] = Nil)

    content

    The content of the message.

    nonce

    A nonce used for optimistic message sending (up to 25 characters).

    tts

    If this is a text-to-speech message.

    files

    The files to send with this message. You can reference these files in the embed using attachment://filename.

    embeds

    Embeds to send with this message.

    replyTo

    The message to reply to

    replyFailIfNotExist

    Fail the reply if the message to reply to does not exist.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val allowedMentions: AllowedMention
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. val components: Seq[ActionRow]
  8. val content: String
  9. val embeds: Seq[OutgoingEmbed]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val files: Seq[CreateMessageFile]
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val nonce: Option[Either[String, RawSnowflake]]
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val replyFailIfNotExist: Boolean
  20. val replyTo: Option[MessageId]
  21. val stickerIds: Seq[StickerId]
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. val tts: Boolean
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped