Package io.github.dawncord.api
Class Routes.Webhook
java.lang.Object
io.github.dawncord.api.Routes.Webhook
- Enclosing class:
- Routes
Routes related to webhooks.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Webhook
public Webhook()
-
-
Method Details
-
ById
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
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.
-