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]], attachment: Seq[Attachment], embeds: Seq[ReceivedEmbed], reactions: Option[Seq[Reaction]], nonce: Option[Either[Int, String]], pinned: Boolean, type: MessageType, activity: Option[RawMessageActivity], application: Option[MessageApplication], messageReference: Option[MessageReference], flags: Option[MessageFlags]) 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.

attachment

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.

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]], attachment: Seq[Attachment], embeds: Seq[ReceivedEmbed], reactions: Option[Seq[Reaction]], nonce: Option[Either[Int, String]], pinned: Boolean, type: MessageType, activity: Option[RawMessageActivity], application: Option[MessageApplication], messageReference: Option[MessageReference], flags: Option[MessageFlags])

    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.

    attachment

    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.

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[MessageApplication]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val attachment: Seq[Attachment]
  8. val author: Author[_]
  9. val channelId: TextChannelId
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. val content: String
  12. val editedTimestamp: Option[OffsetDateTime]
  13. val embeds: Seq[ReceivedEmbed]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. val flags: Option[MessageFlags]
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val guildId: Option[GuildId]
  19. val id: MessageId
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val member: Option[PartialRawGuildMember]
  22. val mentionChannels: Option[Seq[ChannelMention]]
  23. val mentionEveryone: Boolean
  24. val mentionRoles: Seq[RoleId]
  25. val mentions: Seq[User]
  26. val messageReference: Option[MessageReference]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. val nonce: Option[Either[Int, String]]
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val pinned: Boolean
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. val reactions: Option[Seq[Reaction]]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val timestamp: OffsetDateTime
  36. def toMessage: Message

    Convert this to a normal message.

  37. val tts: Boolean
  38. val type: MessageType
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped