export interface WebhookMessageCreateOptions extends BaseMessageOptions, MessageOptionsPoll, MessageOptionsFlags, MessageOptionsTTSOptions that can be passed into send.
optionalallowedMentions? : MessageMentionOptions
Which mentions should be parsed from the message content (see here for more details)
Inherited from: BaseMessageOptions
optionalappliedTags? : readonly Snowflake[]
The tags to apply to the created thread (only available if the webhook is in a forum channel)
optionalavatarURL? : string
Avatar URL override for the message
optionalcomponents? : readonly ( | ActionRowData<MessageActionRowComponentBuilder | MessageActionRowComponentData> | APIMessageTopLevelComponent | JSONEncodable<APIActionRowComponent<APIComponentInActionRow>> | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData )[]
Action rows containing interactive components for the message (buttons, select menus) and other top-level components. When using components v2, the flag MessageFlags needs to be set and content, embeds, stickers, and poll cannot be used.
Inherited from: BaseMessageOptions
optionalcontent? : string = ''
The content for the message. This can only be null when editing a message.
Inherited from: BaseMessageOptions
optionalembeds? : readonly (APIEmbed | JSONEncodable<APIEmbed>)[]
The embeds for the message
Inherited from: BaseMessageOptions
optionalfiles? : readonly ( | Attachment | AttachmentBuilder | AttachmentPayload | BufferResolvable | JSONEncodable<APIAttachment> | Stream )[]
The files to send with the message.
Inherited from: BaseMessageOptions
externalflags : MessageFlags
Which flags to set for the message. Only MessageFlags and MessageFlags can be set.
optionalpoll? : JSONEncodable<RESTAPIPoll> | PollData
Inherited from: MessageOptionsPoll
optionalthreadId? : Snowflake
The id of the thread in the channel to send to. For interaction webhooks, this property is ignored
optionalthreadName? : string
Name of the thread to create (only available if the webhook is in a forum channel)
externaltts : boolean
Whether the message should be spoken aloud
optionalusername? : string = this.name
Username override for the message
optionalwithComponents? : boolean
Whether to allow sending non-interactive components in the message. For application-owned webhooks, this property is ignored