EditWebhookMessageOptions
Documentation / @discordeno/types / EditWebhookMessageOptions
Interface: EditWebhookMessageOptions
Defined in: discordeno/webhook.ts:91
https://docs.discord.com/developers/resources/webhook#edit-webhook-message
Properties
allowedMentions?
optionalallowedMentions?:AllowedMentions
Defined in: discordeno/webhook.ts:116
Allowed mentions for the message
attachments?
optionalattachments?:Pick<DiscordAttachment,"id"|"description"|"filename">[]
Defined in: discordeno/webhook.ts:128
Attached files to keep and possible descriptions for new files
components?
optionalcomponents?:MessageComponents
Defined in: discordeno/webhook.ts:124
The components to include with the message
Remarks
Application-owned webhooks can always send components.
Non-application-owned webhooks cannot send interactive components, and the components field will be ignored unless they set the with_components query param.
content?
optionalcontent?:string
Defined in: discordeno/webhook.ts:106
The message contents (up to 2000 characters)
embeds?
optionalembeds?:object[]
Defined in: discordeno/webhook.ts:108
Embedded rich content
author?
optionalauthor?:object
author.iconUrl?
optionaliconUrl?:string
author.name
name:
string
author.proxyIconUrl?
optionalproxyIconUrl?:string
author.url?
optionalurl?:string
color?
optionalcolor?:number
description?
optionaldescription?:string
fields?
optionalfields?:object[]
footer?
optionalfooter?:object
footer.iconUrl?
optionaliconUrl?:string
footer.proxyIconUrl?
optionalproxyIconUrl?:string
footer.text
text:
string
image?
optionalimage?:object
image.height?
optionalheight?:number
image.proxyUrl?
optionalproxyUrl?:string
image.url
url:
string
image.width?
optionalwidth?:number
provider?
optionalprovider?:object
provider.name?
optionalname?:string
provider.url?
optionalurl?:string
thumbnail?
optionalthumbnail?:object
thumbnail.height?
optionalheight?:number
thumbnail.proxyUrl?
optionalproxyUrl?:string
thumbnail.url
url:
string
thumbnail.width?
optionalwidth?:number
timestamp?
optionaltimestamp?:string
title?
optionaltitle?:string
type?
optionaltype?:EmbedTypes
url?
optionalurl?:string
video?
optionalvideo?:object
video.height?
optionalheight?:number
video.proxyUrl?
optionalproxyUrl?:string
video.url?
optionalurl?:string
video.width?
optionalwidth?:number
files?
optionalfiles?:FileContent[]
Defined in: discordeno/webhook.ts:126
The contents of the files being sent
flags?
optionalflags?:number
Defined in: discordeno/webhook.ts:114
Message flags combined in a bitfield
See
poll?
optionalpoll?:CreatePoll
Defined in: discordeno/webhook.ts:135
A poll!
Remarks
Polls can only be added when editing a deferred interaction response.
threadId?
optionalthreadId?:BigString
Defined in: discordeno/webhook.ts:94
Id of the thread the message is in
withComponents?
optionalwithComponents?:boolean
Defined in: discordeno/webhook.ts:101
Whether to respect the components field of the request.
When enabled, allows application-owned webhooks to use all components and non-owned webhooks to use non-interactive components.
Default
false