case class MessageReactionAdd(userId: UserId, guild: Option[GatewayGuild], channelId: TextChannelId, messageId: MessageId, emoji: PartialEmoji, user: Option[User], member: Option[GuildMember], cache: CacheState, gatewayInfo: GatewayInfo) extends MessageIdMessage with TextChannelIdMessage with Product with Serializable
Sent to the client when a user adds a reaction to a message.
- userId
The id of the user that added the reaction.
- guild
The guild the message was sent in.
- channelId
The channel the message was sent in.
- messageId
The id of the message the user added an reaction to.
- emoji
The emoji the user reacted with.
- user
The user that added the reaction.
- member
The guild member that added the reaction.
- Source
- APIMessage.scala
- Alphabetic
- By Inheritance
- MessageReactionAdd
- Serializable
- Product
- Equals
- MessageIdMessage
- TextChannelIdMessage
- OptGuildMessage
- APIMessage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MessageReactionAdd(userId: UserId, guild: Option[GatewayGuild], channelId: TextChannelId, messageId: MessageId, emoji: PartialEmoji, user: Option[User], member: Option[GuildMember], cache: CacheState, gatewayInfo: GatewayInfo)
- userId
The id of the user that added the reaction.
- guild
The guild the message was sent in.
- channelId
The channel the message was sent in.
- messageId
The id of the message the user added an reaction to.
- emoji
The emoji the user reacted with.
- user
The user that added the reaction.
- member
The guild member that added the reaction.
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
- val cache: CacheState
The current state of the cache.
The current state of the cache. Contains both a snapshot of how the cache looks like after this message (the current one), and a snapshot for how the cache looked like before this message.
- Definition Classes
- MessageReactionAdd → APIMessage
- def channel: Option[TextChannel]
- Definition Classes
- TextChannelIdMessage
- val channelId: TextChannelId
- Definition Classes
- MessageReactionAdd → TextChannelIdMessage
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val emoji: PartialEmoji
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val gatewayInfo: GatewayInfo
Info about the state of the gateway that received this gateway.
Info about the state of the gateway that received this gateway.
- Definition Classes
- MessageReactionAdd → APIMessage
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val guild: Option[GatewayGuild]
- Definition Classes
- MessageReactionAdd → OptGuildMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val member: Option[GuildMember]
- def message: Option[Message]
- Definition Classes
- MessageIdMessage
- val messageId: MessageId
- Definition Classes
- MessageReactionAdd → MessageIdMessage
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val user: Option[User]
- val userId: UserId
- 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])