sealed trait Message extends AnyRef
- Alphabetic
- By Inheritance
- Message
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def activity: Option[MessageActivity]
Sent with rich presence chat embeds.
- abstract def application: Option[PartialApplication]
Sent with rich presence chat embeds.
- abstract def applicationId: Option[ApplicationId]
If an message is a response to an interaction, then this is the id of the interaction's application.
- abstract def attachments: Seq[Attachment]
All the attachments of this message.
- abstract def authorId: RawSnowflake
The id of the author that sent this message.
- abstract def authorUsername: String
The username of the author.
- abstract def channelId: TextChannelId
The channel this message was sent to.
- abstract def components: Seq[ActionRow]
The extra interaction components added to this message.
- abstract def content: String
The content of this message.
- abstract def editedTimestamp: Option[OffsetDateTime]
The timestamp this message was last edited.
- abstract def embeds: Seq[ReceivedEmbed]
All the embeds of this message.
- abstract def flags: Option[MessageFlags]
Extra features of the message.
- abstract def formatMentions(implicit c: CacheSnapshot): String
Expands all mentions in the message.
- abstract def guild(implicit c: CacheSnapshot): Option[GatewayGuild]
Get the guild this message was sent to.
- abstract def guildMember(implicit c: CacheSnapshot): Option[GuildMember]
Get the guild member of the one that sent this message.
- abstract def id: MessageId
The id of the message.
- abstract def interaction: Option[MessageInteraction]
Sent if the message is a response to an Interaction
- abstract def isAuthorUser: Boolean
True if the author is a user.
- 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.
- abstract def mentionEveryone: Boolean
If this message mentions everyone.
- abstract def mentions: Seq[UserId]
All the users this message mentions.
- abstract def messageReference: Option[MessageReference]
Data sent with a crossposts and replies.
- abstract def messageType: MessageType
The message type.
- abstract def nonce: Option[String]
A nonce for this message.
- abstract def pinned: Boolean
If this message is pinned.
- abstract def reactions: Seq[Reaction]
All the reactions on this message.
- abstract def referencedMessage: Option[Message]
Message associated with the message reference.
- abstract def stickerItems: Option[Seq[StickerItem]]
Stickers sent with the message.
- abstract def threadId: Option[ThreadGuildChannelId]
The thread that was started from this message.
- abstract def timestamp: OffsetDateTime
The timestamp this message was created.
- abstract def tts: Boolean
If this message is has text-to-speech enabled.
- abstract def updateButton(identifier: String, f: (TextButton) => Button): Message
- 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
- 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 authorUser(implicit c: CacheSnapshot): Option[User]
Gets the author of this message, ignoring the case where the author might be a webhook.
- def authorUserId: Option[UserId]
If the author is a user, their user id.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])