c

ackcord.syntax

WebhookSyntax

implicit final class WebhookSyntax extends AnyVal

Source
syntax.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebhookSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WebhookSyntax(webhook: Webhook)

Value Members

  1. def delete: DeleteWebhook

    Delete this webhook.

  2. def deleteWithToken: Option[DeleteWebhookWithToken]

    Delete this webhook with a token.

    Delete this webhook with a token. Doesn't require authentication.

  3. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  4. def modify(name: util.JsonOption[String] = JsonUndefined, avatar: util.JsonOption[ImageData] = JsonUndefined, channelId: util.JsonOption[TextGuildChannelId] = JsonUndefined): ModifyWebhook

    Modify this webhook.

    Modify this webhook.

    name

    Name of the webhook.

    avatar

    The avatar data of the webhook.

    channelId

    The channel this webhook should be moved to.

  5. def modifyWithToken(name: util.JsonOption[String] = JsonUndefined, avatar: util.JsonOption[ImageData] = JsonUndefined, channelId: util.JsonOption[TextGuildChannelId] = JsonUndefined): Option[ModifyWebhookWithToken]

    Modify this webhook with a token.

    Modify this webhook with a token. Doesn't require authentication.

    name

    Name of the webhook.

    avatar

    The avatar data of the webhook.

    channelId

    The channel this webhook should be moved to.