Packages

sealed trait Message extends AnyRef

Source
message.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Message
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def activity: Option[MessageActivity]

    Sent with rich presence chat embeds.

  2. abstract def application: Option[MessageApplication]

    Sent with rich presence chat embeds.

  3. abstract def attachment: Seq[Attachment]

    All the attachments of this message.

  4. abstract def authorId: RawSnowflake

    The id of the author that sent this message.

  5. abstract def authorUsername: String

    The username of the author.

  6. abstract def channelId: TextChannelId

    The channel this message was sent to.

  7. abstract def content: String

    The content of this message.

  8. abstract def editedTimestamp: Option[OffsetDateTime]

    The timestamp this message was last edited.

  9. abstract def embeds: Seq[ReceivedEmbed]

    All the embeds of this message.

  10. abstract def flags: Option[MessageFlags]

    Extra features of the message.

  11. abstract def formatMentions(implicit c: CacheSnapshot): String

    Expands all mentions in the message.

  12. abstract def guild(implicit c: CacheSnapshot): Option[Guild]

    Get the guild this message was sent to.

  13. abstract def guildMember(implicit c: CacheSnapshot): Option[GuildMember]

    Get the guild member of the one that sent this message.

  14. abstract def id: MessageId

    The id of the message.

  15. abstract def isAuthorUser: Boolean

    True if the author is a user.

  16. abstract def mentionChannels: Seq[ChannelMention]

    Potentially channels mentioned in the message.

    Potentially channels mentioned in the message. Only used for cross posted public channels so far.

  17. abstract def mentionEveryone: Boolean

    If this message mentions everyone.

  18. abstract def mentions: Seq[UserId]

    All the users this message mentions.

  19. abstract def messageReference: Option[MessageReference]

    Data sent with a crosspost.

  20. abstract def messageType: MessageType

    The message type.

  21. abstract def nonce: Option[String]

    A nonce for this message.

  22. abstract def pinned: Boolean

    If this message is pinned.

  23. abstract def reactions: Seq[Reaction]

    All the reactions on this message.

  24. abstract def timestamp: OffsetDateTime

    The timestamp this message was created.

  25. abstract def tts: Boolean

    If this message is has text-to-speech enabled.

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def authorUser(implicit c: CacheSnapshot): Option[User]

    Gets the author of this message, ignoring the case where the author might be a webhook.

  6. def authorUserId: Option[UserId]

    If the author is a user, their user id.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped