@vermaysha/discord-webhook
Version:
Discord Webhook built using TypeScript which supports Browser and Node
23 lines (22 loc) • 442 B
TypeScript
import type { IUser } from './IUser';
export interface IWebhookResponse {
id: string;
type: number;
channel_id: string;
guild_id: string;
user?: IUser;
name: string;
avatar: string;
token: string;
application_id: string;
url?: string;
source_guild?: {
id: number;
name: string;
icon?: string;
};
source_channel?: {
id: number;
name: string;
};
}