Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>ExecuteWebhook

A powerful and customizable framework for Discordeno
Latest
interface ExecuteWebhook
Re-export
import { type ExecuteWebhook } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

optional
wait: boolean

Waits for server confirmation of message send before response, and returns the created message body (defaults to false; when false a message that is not saved does not return an error)

optional
threadId: bigint

Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived.

optional
content: string

The message contents (up to 2000 characters)

optional
username: string

Override the default username of the webhook

optional
avatarUrl: string

Override the default avatar of the webhook

optional
tts: boolean

True if this is a TTS message

optional
file: FileContent | FileContent[]

The contents of the file being sent

optional
embeds: Embed[]

Embedded rich content

optional
allowedMentions: Omit<AllowedMentions, "users" | "roles"> & { roles?: bigint[]; users?: bigint[]; }

Allowed mentions for the message