Static ReadonlydiscordApiEmbedSchema
discordApiEmbedSchema: ZodObject<{
author: ZodOptional<ZodObject<{
icon_url: ZodOptional<ZodString>;
name: ZodString;
url: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
icon_url?: string;
name: string;
url?: string;
}, {
icon_url?: string;
name: string;
url?: string;
}>>;
color: ZodOptional<ZodNumber>;
description: ZodOptional<ZodString>;
fields: ZodOptional<ZodArray<ZodObject<{
name: ZodString;
value: ZodString;
}, "strip", ZodTypeAny, {
name: string;
value: string;
}, {
name: string;
value: string;
}>, "many">>;
footer: ZodOptional<ZodObject<{
text: ZodString;
}, "strip", ZodTypeAny, {
text: string;
}, {
text: string;
}>>;
image: ZodOptional<ZodObject<{
url: ZodString;
}, "strip", ZodTypeAny, {
url: string;
}, {
url: string;
}>>;
provider: ZodOptional<ZodObject<{
name: ZodString;
}, "strip", ZodTypeAny, {
name: string;
}, {
name: string;
}>>;
thumbnail: ZodOptional<ZodObject<{
url: ZodString;
}, "strip", ZodTypeAny, {
url: string;
}, {
url: string;
}>>;
timestamp: ZodOptional<ZodString>;
title: ZodOptional<ZodString>;
url: ZodOptional<ZodString>;
video: ZodOptional<ZodObject<{
url: ZodString;
}, "strip", ZodTypeAny, {
url: string;
}, {
url: string;
}>>;
}, "strip", ZodTypeAny, {
author?: {
icon_url?: string;
name: string;
url?: string;
};
color?: number;
description?: string;
fields?: {
name: string;
value: string;
}[];
footer?: {
text: string;
};
image?: {
url: string;
};
provider?: {
name: string;
};
thumbnail?: {
url: string;
};
timestamp?: string;
title?: string;
url?: string;
video?: {
url: string;
};
}, {
author?: {
icon_url?: string;
name: string;
url?: string;
};
color?: number;
description?: string;
fields?: {
name: string;
value: string;
}[];
footer?: {
text: string;
};
image?: {
url: string;
};
provider?: {
name: string;
};
thumbnail?: {
url: string;
};
timestamp?: string;
title?: string;
url?: string;
video?: {
url: string;
};
}> = ...