detritus
On this page

Webhook Structure

import { Structures } from 'detritus-client';

Structures.Webhook;
21 properties10 methods15 inheritedsrc/structures/webhook.ts:41

Constructor

Properties

applicationId
string | null
Default null
avatar
string | null
Default null
channelId
string
Default ''
client
readonly
Inherited from BaseStructure.client
discriminator
string
Default '0000'
guildId
string
Default ''
id
string
Default ''
name
string
Default ''
sourceChannel?
optional
sourceGuild?
optional
token?
string | null
optional
type
Default WebhookTypes.INCOMING
url?
string
optional
user?
User | null
optional

Accessors

avatarUrl
string
get
channel
Channel | null
get
createdAt
Date
get
createdAtUnix
number
get
defaultAvatarUrl
string
get
guild
Guild | null
get
isClone
boolean
get
Inherited from BaseStructure.isClone
mention
string
get
shardId
number
get
Inherited from BaseStructure.shardId

Methods