c

ackcord.data.raw

RawMessage

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RawMessage
  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 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

  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 activity: Option[RawMessageActivity]
  5. val application: Option[PartialApplication]
  6. val applicationId: Option[ApplicationId]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val attachments: Seq[Attachment]
  9. val author: Author[_]
  10. val channelId: TextChannelId
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. val components: Option[Seq[ActionRow]]
  13. val content: String
  14. val editedTimestamp: Option[OffsetDateTime]
  15. val embeds: Seq[ReceivedEmbed]
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val flags: Option[MessageFlags]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. val guildId: Option[GuildId]
  20. val id: MessageId
  21. val interaction: Option[MessageInteraction]
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val member: Option[PartialRawGuildMember]
  24. val mentionChannels: Option[Seq[ChannelMention]]
  25. val mentionEveryone: Boolean
  26. val mentionRoles: Seq[RoleId]
  27. val mentions: Seq[User]
  28. val messageReference: Option[MessageReference]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. val nonce: Option[Either[Long, String]]
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. val pinned: Boolean
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. val reactions: Option[Seq[Reaction]]
  36. val referencedMessage: Option[RawMessage]
  37. val stickerItems: Option[Seq[StickerItem]]
  38. val stickers: Option[Seq[RawSticker]]
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. val thread: Option[RawChannel]
  41. val timestamp: OffsetDateTime
  42. def toMessage: Message

    Convert this to a normal message.

  43. val tts: Boolean
  44. val type: MessageType
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. 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