Packages

case class Webhook(id: SnowflakeType[Webhook], type: WebhookType, guildId: Option[GuildId], channelId: TextGuildChannelId, user: Option[User], name: Option[String], avatar: Option[String], token: Option[String], applicationId: Option[RawSnowflake]) extends GetGuildOpt with Product with Serializable

A webhook

id

The webhook id

guildId

The guild it belongs to

channelId

The channel it belongs to

user

The user that created the webhook. Not present when getting a webhook with a token.

name

The name of the webhook

avatar

The avatar of the webhook.

token

The token of the webhook.

applicationId

The bot or OAuth2 application that created the webhook

Source
Webhook.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Webhook
  2. Serializable
  3. Product
  4. Equals
  5. GetGuildOpt
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Webhook(id: SnowflakeType[Webhook], type: WebhookType, guildId: Option[GuildId], channelId: TextGuildChannelId, user: Option[User], name: Option[String], avatar: Option[String], token: Option[String], applicationId: Option[RawSnowflake])

    id

    The webhook id

    guildId

    The guild it belongs to

    channelId

    The channel it belongs to

    user

    The user that created the webhook. Not present when getting a webhook with a token.

    name

    The name of the webhook

    avatar

    The avatar of the webhook.

    token

    The token of the webhook.

    applicationId

    The bot or OAuth2 application that created the webhook

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 applicationId: Option[RawSnowflake]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val avatar: Option[String]
  7. val channelId: TextGuildChannelId
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def guild(implicit snapshot: CacheSnapshot): Option[Guild]

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuildOpt
  13. val guildId: Option[GuildId]
    Definition Classes
    WebhookGetGuildOpt
  14. val id: SnowflakeType[Webhook]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val name: Option[String]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def textGuildChannel(implicit snapshot: CacheSnapshot): Option[TextGuildChannel]

    Resolve the channel of this webhook as a guild channel

  23. val token: Option[String]
  24. val type: WebhookType
  25. val user: Option[User]
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. 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 GetGuildOpt

Inherited from AnyRef

Inherited from Any

Ungrouped