Class Routes.Webhook

java.lang.Object
io.github.dawncord.api.Routes.Webhook
Enclosing class:
Routes

public static class Routes.Webhook extends Object
Routes related to webhooks.
  • Constructor Details

    • Webhook

      public Webhook()
  • Method Details

    • ById

      public static String ById(String webhookId)
      Constructs the route to access a webhook by its ID.
      Parameters:
      webhookId - The ID of the webhook.
      Returns:
      The route to access the webhook by ID.
    • ByToken

      public static String ByToken(String webhookId, String webhookToken)
      Constructs the route to access a webhook by its ID and token.
      Parameters:
      webhookId - The ID of the webhook.
      webhookToken - The token of the webhook.
      Returns:
      The route to access the webhook by ID and token.