Interface JSONWebhook

interface JSONWebhook {
    applicationID: null | string;
    avatar: null | string;
    channelID: null | string;
    createdAt: number;
    guildID: null | string;
    id: string;
    name: null | string;
    sourceChannel?: Pick<RawChannel, "name" | "id">;
    sourceGuild?: Pick<RawGuild, "name" | "id" | "icon">;
    token?: string;
    type: WebhookTypes;
    user?: JSONUser;
}

Hierarchy (view full)

Properties

applicationID: null | string
avatar: null | string
channelID: null | string
createdAt: number
guildID: null | string
id: string
name: null | string
sourceChannel?: Pick<RawChannel, "name" | "id">
sourceGuild?: Pick<RawGuild, "name" | "id" | "icon">
token?: string
user?: JSONUser