case class RawMessage(id: MessageId, channelId: TextChannelId, guildId: Option[GuildId], author: Author[_], member: Option[PartialRawGuildMember], content: String, timestamp: OffsetDateTime, editedTimestamp: Option[OffsetDateTime], tts: Boolean, mentionEveryone: Boolean, mentions: Seq[User], mentionRoles: Seq[RoleId], mentionChannels: Option[Seq[ChannelMention]], attachments: Seq[Attachment], embeds: Seq[ReceivedEmbed], reactions: Option[Seq[Reaction]], nonce: Option[Either[Long, String]], pinned: Boolean, type: MessageType, activity: Option[RawMessageActivity], application: Option[PartialApplication], applicationId: Option[ApplicationId], messageReference: Option[MessageReference], flags: Option[MessageFlags], stickers: Option[Seq[RawSticker]], stickerItems: Option[Seq[StickerItem]], referencedMessage: Option[RawMessage], interaction: Option[MessageInteraction], components: Option[Seq[ActionRow]], thread: Option[RawChannel]) extends Product with Serializable
A raw message before going through the cache.
- id
The id of the message.
- channelId
The channel this message was sent to.
- guildId
The guild this message was sent to. Can me missing.
- author
The author that sent this message.
- member
The guild member user that sent this message. Can be missing.
- content
The content of this message.
- timestamp
The timestamp this message was created.
- editedTimestamp
The timestamp this message was last edited.
- tts
If this message is has text-to-speech enabled.
- mentionEveryone
If this message mentions everyone.
- mentions
All the users this message mentions.
- mentionRoles
All the roles this message mentions.
- mentionChannels
Potentially channels mentioned in the message. Only used for cross posted public channels so far.
- attachments
All the attachments of this message.
- embeds
All the embeds of this message.
- reactions
All the reactions on this message.
- nonce
A nonce for this message.
- pinned
If this message is pinned.
- activity
Sent with rich presence chat embeds.
- application
Sent with rich presence chat embeds.
- applicationId
If an message is a response to an interaction, then this is the id of the interaction's application.
- messageReference
Data sent with a crossposts and replies.
- flags
Extra features of the message.
- stickers
Stickers sent with the message.
- referencedMessage
Message associated with the message reference.
- interaction
Sent if the message is a response to an Interaction.
- Source
- rawData.scala
- Alphabetic
- By Inheritance
- RawMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RawMessage(id: MessageId, channelId: TextChannelId, guildId: Option[GuildId], author: Author[_], member: Option[PartialRawGuildMember], content: String, timestamp: OffsetDateTime, editedTimestamp: Option[OffsetDateTime], tts: Boolean, mentionEveryone: Boolean, mentions: Seq[User], mentionRoles: Seq[RoleId], mentionChannels: Option[Seq[ChannelMention]], attachments: Seq[Attachment], embeds: Seq[ReceivedEmbed], reactions: Option[Seq[Reaction]], nonce: Option[Either[Long, String]], pinned: Boolean, type: MessageType, activity: Option[RawMessageActivity], application: Option[PartialApplication], applicationId: Option[ApplicationId], messageReference: Option[MessageReference], flags: Option[MessageFlags], stickers: Option[Seq[RawSticker]], stickerItems: Option[Seq[StickerItem]], referencedMessage: Option[RawMessage], interaction: Option[MessageInteraction], components: Option[Seq[ActionRow]], thread: Option[RawChannel])
- id
The id of the message.
- channelId
The channel this message was sent to.
- guildId
The guild this message was sent to. Can me missing.
- author
The author that sent this message.
- member
The guild member user that sent this message. Can be missing.
- content
The content of this message.
- timestamp
The timestamp this message was created.
- editedTimestamp
The timestamp this message was last edited.
- tts
If this message is has text-to-speech enabled.
- mentionEveryone
If this message mentions everyone.
- mentions
All the users this message mentions.
- mentionRoles
All the roles this message mentions.
- mentionChannels
Potentially channels mentioned in the message. Only used for cross posted public channels so far.
- attachments
All the attachments of this message.
- embeds
All the embeds of this message.
- reactions
All the reactions on this message.
- nonce
A nonce for this message.
- pinned
If this message is pinned.
- activity
Sent with rich presence chat embeds.
- application
Sent with rich presence chat embeds.
- applicationId
If an message is a response to an interaction, then this is the id of the interaction's application.
- messageReference
Data sent with a crossposts and replies.
- flags
Extra features of the message.
- stickers
Stickers sent with the message.
- referencedMessage
Message associated with the message reference.
- interaction
Sent if the message is a response to an Interaction.
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
- val activity: Option[RawMessageActivity]
- val application: Option[PartialApplication]
- val applicationId: Option[ApplicationId]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attachments: Seq[Attachment]
- val author: Author[_]
- val channelId: TextChannelId
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val components: Option[Seq[ActionRow]]
- val content: String
- val editedTimestamp: Option[OffsetDateTime]
- val embeds: Seq[ReceivedEmbed]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val flags: Option[MessageFlags]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val guildId: Option[GuildId]
- val id: MessageId
- val interaction: Option[MessageInteraction]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val member: Option[PartialRawGuildMember]
- val mentionChannels: Option[Seq[ChannelMention]]
- val mentionEveryone: Boolean
- val mentionRoles: Seq[RoleId]
- val mentions: Seq[User]
- val messageReference: Option[MessageReference]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonce: Option[Either[Long, String]]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val pinned: Boolean
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val reactions: Option[Seq[Reaction]]
- val referencedMessage: Option[RawMessage]
- val stickerItems: Option[Seq[StickerItem]]
- val stickers: Option[Seq[RawSticker]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thread: Option[RawChannel]
- val timestamp: OffsetDateTime
- def toMessage: Message
Convert this to a normal message.
- val tts: Boolean
- val type: MessageType
- 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])