case class MessageCreate(rawData: Json, data: Later[Result[RawMessage]]) extends ChannelEvent[RawMessage] with Product with Serializable
Sent to the shard when a message is created (posted).
- data
The sent message.
- Source
- gatewayData.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MessageCreate
- Serializable
- Product
- Equals
- ChannelEvent
- GatewayEvent
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MessageCreate(rawData: Json, data: Later[Result[RawMessage]])
- data
The sent message.
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 channelId: Eval[Result[ChannelId]]
The channel associated with this event.
The channel associated with this event.
- Definition Classes
- MessageCreate → ChannelEvent
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val data: Later[Result[RawMessage]]
The data carried by this event.
The data carried by this event.
- Definition Classes
- MessageCreate → GatewayEvent
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapData[A](f: (RawMessage) => A): Eval[Result[A]]
Maps the data in this event without evaluating it.
Maps the data in this event without evaluating it.
- Definition Classes
- GatewayEvent
- def name: String
The name of this event.
The name of this event.
- Definition Classes
- MessageCreate → GatewayEvent
- 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
- val rawData: Json
The raw data this event was created from.
The raw data this event was created from. Used for debugging and error reporting.
- Definition Classes
- MessageCreate → GatewayEvent
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])