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[PartialApplication]

    Sent with rich presence chat embeds.

  3. abstract def applicationId: Option[ApplicationId]

    If an message is a response to an interaction, then this is the id of the interaction's application.

  4. abstract def attachments: Seq[Attachment]

    All the attachments of this message.

  5. abstract def authorId: RawSnowflake

    The id of the author that sent this message.

  6. abstract def authorUsername: String

    The username of the author.

  7. abstract def channelId: TextChannelId

    The channel this message was sent to.

  8. abstract def components: Seq[ActionRow]

    The extra interaction components added to this message.

  9. abstract def content: String

    The content of this message.

  10. abstract def editedTimestamp: Option[OffsetDateTime]

    The timestamp this message was last edited.

  11. abstract def embeds: Seq[ReceivedEmbed]

    All the embeds of this message.

  12. abstract def flags: Option[MessageFlags]

    Extra features of the message.

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

    Expands all mentions in the message.

  14. abstract def guild(implicit c: CacheSnapshot): Option[GatewayGuild]

    Get the guild this message was sent to.

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

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

  16. abstract def id: MessageId

    The id of the message.

  17. abstract def interaction: Option[MessageInteraction]

    Sent if the message is a response to an Interaction

  18. abstract def isAuthorUser: Boolean

    True if the author is a user.

  19. 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.

  20. abstract def mentionEveryone: Boolean

    If this message mentions everyone.

  21. abstract def mentions: Seq[UserId]

    All the users this message mentions.

  22. abstract def messageReference: Option[MessageReference]

    Data sent with a crossposts and replies.

  23. abstract def messageType: MessageType

    The message type.

  24. abstract def nonce: Option[String]

    A nonce for this message.

  25. abstract def pinned: Boolean

    If this message is pinned.

  26. abstract def reactions: Seq[Reaction]

    All the reactions on this message.

  27. abstract def referencedMessage: Option[Message]

    Message associated with the message reference.

  28. abstract def stickerItems: Option[Seq[StickerItem]]

    Stickers sent with the message.

  29. abstract def threadId: Option[ThreadGuildChannelId]

    The thread that was started from this message.

  30. abstract def timestamp: OffsetDateTime

    The timestamp this message was created.

  31. abstract def tts: Boolean

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

  32. abstract def updateButton(identifier: String, f: (TextButton) => Button): Message
  33. abstract def stickers: Option[Seq[Sticker]]

    Stickers sent with the message.

    Stickers sent with the message. (deprecated)

    Annotations
    @deprecated
    Deprecated

    (Since version 0.18.0) Removed in favour of stickerItems

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

Inherited from Any

Ungrouped