Skip to main content

DiscordIncomingWebhook

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordIncomingWebhook

Interface: DiscordIncomingWebhook

Properties

application_id

application_id: null | string

The bot/OAuth2 application that created this webhook

Defined in

packages/types/dist/types/discord.d.ts:695


avatar

avatar: null | string

The default user avatar hash of the webhook

Defined in

packages/types/dist/types/discord.d.ts:693


channel_id

channel_id: string

The channel id this webhook is for

Defined in

packages/types/dist/types/discord.d.ts:687


guild_id?

optional guild_id: string

The guild id this webhook is for

Defined in

packages/types/dist/types/discord.d.ts:685


id

id: string

The id of the webhook

Defined in

packages/types/dist/types/discord.d.ts:683


name

name: null | string

The default name of the webhook

Defined in

packages/types/dist/types/discord.d.ts:691


source_channel?

optional source_channel: Partial<DiscordChannel>

The channel that this webhook is following (returned for Channel Follower Webhooks)

Defined in

packages/types/dist/types/discord.d.ts:699


source_guild?

optional source_guild: Partial<DiscordGuild>

The guild of the channel that this webhook is following (returned for Channel Follower Webhooks)

Defined in

packages/types/dist/types/discord.d.ts:697


token?

optional token: string

The secure token of the webhook (returned for Incoming Webhooks)

Defined in

packages/types/dist/types/discord.d.ts:679


type

type: WebhookTypes

The type of the webhook

Defined in

packages/types/dist/types/discord.d.ts:677


url?

optional url: string

The url used for executing the webhook (returned by the webhooks OAuth2 flow)

Defined in

packages/types/dist/types/discord.d.ts:681


user?

optional user: DiscordUser

The user this webhook was created by (not returned when getting a webhook with its token)

Defined in

packages/types/dist/types/discord.d.ts:689