interface RawWebhook {
    application_id: null | string;
    avatar: null | string;
    channel_id: null | string;
    guild_id?: null | string;
    id: string;
    name: null | string;
    source_channel?: Pick<RawChannel, "name" | "id">;
    source_guild?: Pick<RawGuild, "name" | "id" | "icon">;
    token?: string;
    type: WebhookTypes;
    url?: string;
    user?: RawUser;
}

Properties

application_id: null | string
avatar: null | string
channel_id: null | string
guild_id?: null | string
id: string
name: null | string
source_channel?: Pick<RawChannel, "name" | "id">
source_guild?: Pick<RawGuild, "name" | "id" | "icon">
token?: string
url?: string
user?: RawUser