executeInstatusWebhook abstract method
- @POST.new('/webhooks/{webhook_id}/{token}/instatus')
- @Path.new('webhook_id') required SnowflakeType webhookId,
- @Path.new('token') required String token,
- @Body.new() required InstatusWebhook body,
Execute Instatus webhook.
Receives and processes Instatus status page webhook events, formatting them as messages in the configured channel.
webhookId - The ID of the webhook.
token - The token.
body - Name not received - field will be skipped.
Implementation
@POST('/webhooks/{webhook_id}/{token}/instatus')
Future<void> executeInstatusWebhook({
@Path('webhook_id') required SnowflakeType webhookId,
@Path('token') required String token,
@Body() required InstatusWebhook body,
});