case class Emoji(id: EmojiId, name: String, roles: Seq[RoleId], userId: Option[UserId], requireColons: Option[Boolean], managed: Option[Boolean], animated: Option[Boolean], available: Option[Boolean]) extends Product with Serializable
An emoji in a guild.
- id
The id of the emoji.
- name
The emoji name.
- roles
The roles that can use this emoji.
- userId
The id of the user that created this emoji.
- requireColons
If the emoji requires colons.
- managed
If the emoji is managed.
- animated
If the emoji is animated.
- available
If the emoji can be used.
- Source
- guild.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Emoji
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Emoji(id: EmojiId, name: String, roles: Seq[RoleId], userId: Option[UserId], requireColons: Option[Boolean], managed: Option[Boolean], animated: Option[Boolean], available: Option[Boolean])
- id
The id of the emoji.
- name
The emoji name.
- roles
The roles that can use this emoji.
- userId
The id of the user that created this emoji.
- requireColons
If the emoji requires colons.
- managed
If the emoji is managed.
- animated
If the emoji is animated.
- available
If the emoji can be used.
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 animated: Option[Boolean]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asString: String
Returns a string representation of this emoji for use in requests.
- val available: Option[Boolean]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def creator(implicit c: CacheSnapshot): Option[User]
Get the creator of this emoji if it has one.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val id: EmojiId
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val managed: Option[Boolean]
- def mention: String
Mention this emoji so it can be formatted correctly in messages.
- val name: String
- 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 requireColons: Option[Boolean]
- val roles: Seq[RoleId]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val userId: Option[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])