import { WebhookManager } from "https://deno.land/x/higa@0.1.2/mod.ts";
Constructors
Methods
createWebhook(): Promise<Webhook>
channelId: string,
name: string,
avatar?: any,
Creates a webhook in the specified channel
deleteWebhookMessage(): Promise<void>
deleteWebhookWithToken(webhookId: string, webhookToken: string): Promise<void>
Deletes a webhook with the given ID and token
editWebhookMessage(): Promise<Message>
webhookId: string,
webhookToken: string,
messageId: string,
options: ExecuteWebhookOptions,
params?: ExecuteWebhookParams,
Edit a webhook message
executeWebhook(): Promise<Message>
webhookId: string,
webhookToken: string,
options: ExecuteWebhookOptions,
params?: ExecuteWebhookParams,
Executes a webhook
getWebhookWithToken(webhookId: string, webhookToken: string): Promise<Webhook>
Gets a webhook with a token.
modifyWebhookWithToken(): Promise<Webhook>
webhookId: string,
webhookToken: string,
options: ModifyWebhookOptions,
Modify a webhook with a token.