Properties
Optional
author
author?: {
iconUrl?: string;
name: string;
url?: string;
}
Type declaration
-
Optional
iconUrl?: string
-
name: string
-
Optional
url?: string
Optional
children
children?: ReactNode
Optional
color
color?: number
Optional
description
description?: string
Optional
fields
fields?: {
inline?: boolean;
name: string;
value: string;
}[]
Type declaration
-
Optional
inline?: boolean
-
name: string
-
value: string
Optional
footer
footer?: {
iconUrl?: string;
text: string;
}
Type declaration
-
Optional
iconUrl?: string
-
text: string
Optional
image
image?: {
url: string;
}
Optional
thumbnail
thumbnail?: {
url: string;
}
Optional
timestamp
timestamp?: string | number | Date
Optional
title
title?: string
Optional
url
url?: string
Optional
video
video?: {
url: string;
}
See
https://discord.com/developers/docs/resources/channel#embed-object