Class

ackcord.data

Webhook

Related Doc: package data

Permalink

case class Webhook(id: SnowflakeType[Webhook], guildId: Option[GuildId], channelId: ChannelId, user: Option[User], name: Option[String], avatar: Option[String], token: String) 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

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

Instance Constructors

  1. new Webhook(id: SnowflakeType[Webhook], guildId: Option[GuildId], channelId: ChannelId, user: Option[User], name: Option[String], avatar: Option[String], token: String)

    Permalink

    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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val avatar: Option[String]

    Permalink

    The avatar of the webhook.

  6. val channelId: ChannelId

    Permalink

    The channel it belongs to

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def guild[F[_]](implicit snapshot: CacheSnapshot[F], F: Monad[F]): OptionT[F, Guild]

    Permalink

    The guild for this object

    The guild for this object

    Definition Classes
    GetGuildOpt
  12. val guildId: Option[GuildId]

    Permalink

    The guild it belongs to

    The guild it belongs to

    Definition Classes
    WebhookGetGuildOpt
  13. val id: SnowflakeType[Webhook]

    Permalink

    The webhook id

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val name: Option[String]

    Permalink

    The name of the webhook

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def tGuildChannel[F[_]](implicit snapshot: CacheSnapshot[F], F: Monad[F]): OptionT[F, TChannel]

    Permalink

    Resolve the channel of this webhook as a guild channel

  21. val token: String

    Permalink

    The token of the webhook

  22. val user: Option[User]

    Permalink

    The user that created the webhook.

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

  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GetGuildOpt

Inherited from AnyRef

Inherited from Any

Ungrouped