discord-api-types
Version:
Discord API typings that are kept up to date for use in bot library creation.
25 lines • 964 B
JavaScript
;
/**
* Types extracted from https://discord.com/developers/docs/resources/webhook
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebhookType = void 0;
/**
* @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
*/
var WebhookType;
(function (WebhookType) {
/**
* Incoming Webhooks can post messages to channels with a generated token
*/
WebhookType[WebhookType["Incoming"] = 1] = "Incoming";
/**
* Channel Follower Webhooks are internal webhooks used with Channel Following to post new messages into channels
*/
WebhookType[WebhookType["ChannelFollower"] = 2] = "ChannelFollower";
/**
* Application webhooks are webhooks used with Interactions
*/
WebhookType[WebhookType["Application"] = 3] = "Application";
})(WebhookType || (exports.WebhookType = WebhookType = {}));
//# sourceMappingURL=webhook.js.map