WebhookMessageOptions
typedef · Source
Options that can be passed into send. Type: BaseMessageOptionsWithPoll
Properties
username
optional
username: string
Username override for the message
Default: this.name
avatarURL
optional
avatarURL: string
Avatar URL override for the message
threadId
optional
threadId: Snowflake
The id of the thread in the channel to send to. For interaction webhooks, this property is ignored
threadName
optional
threadName: string
Name of the thread to create (only available if webhook is in a forum channel)
flags
optional
flags: MessageFlags
Which flags to set for the message. Only SUPPRESS_EMBEDS can be set.
appliedTags
optional
appliedTags: Array<Snowflake>
The tags to apply to the created thread (only available if the webhook is in a forum channel)
withComponents
optional
withComponents: boolean
Whether to allow sending non-interactive components in the message. For application-owned webhooks, this property is ignored