Preparing search index...
The search index is not available
discord-js-button-pagination-ts
discord-js-button-pagination-ts
<internal>
Webhook
Class Webhook<Type>
Internal
Type Parameters
Type
extends
WebhookType
=
WebhookType
Hierarchy (
View Summary
)
WebhookFields
Webhook
Index
Properties
application
Id
avatar
channel
Id
client
guild
Id
id
name
owner
source
Channel
source
Guild
token
type
Accessors
channel
created
At
created
Timestamp
url
Methods
avatarURL
delete
delete
Message
edit
edit
Message
fetch
Message
is
Application
Created
is
Channel
Follower
is
Incoming
is
User
Created
send
send
Slack
Message
Properties
application
Id
applicationId
:
Type
extends
Application
?
string
:
null
avatar
avatar
:
null
|
string
channel
Id
channelId
:
string
Readonly
client
client
:
Client
guild
Id
guildId
:
string
id
id
:
string
name
name
:
string
owner
owner
:
Type
extends
Incoming
?
null
|
APIUser
|
User
:
APIUser
|
User
source
Channel
sourceChannel
:
Type
extends
ChannelFollower
?
APIPartialChannel
|
NewsChannel
:
null
source
Guild
sourceGuild
:
Type
extends
ChannelFollower
?
APIPartialGuild
|
Guild
:
null
token
token
:
Type
extends
Incoming
?
string
:
Type
extends
ChannelFollower
?
null
:
null
|
string
type
type
:
Type
Accessors
channel
get
channel
()
:
|
null
|
NewsChannel
|
StageChannel
|
TextChannel
|
VoiceChannel
|
ForumChannel
|
MediaChannel
Returns
|
null
|
NewsChannel
|
StageChannel
|
TextChannel
|
VoiceChannel
|
ForumChannel
|
MediaChannel
created
At
get
createdAt
()
:
Date
Returns
Date
created
Timestamp
get
createdTimestamp
()
:
number
Returns
number
url
get
url
()
:
string
Returns
string
Methods
avatarURL
avatarURL
(
options
?:
ImageURLOptions
)
:
null
|
string
Parameters
Optional
options
:
ImageURLOptions
Returns
null
|
string
delete
delete
(
reason
?:
string
)
:
Promise
<
void
>
Parameters
Optional
reason
:
string
Returns
Promise
<
void
>
delete
Message
deleteMessage
(
message
:
APIMessage
|
MessageResolvable
,
threadId
?:
string
,
)
:
Promise
<
void
>
Parameters
message
:
APIMessage
|
MessageResolvable
Optional
threadId
:
string
Returns
Promise
<
void
>
edit
edit
(
options
:
WebhookEditOptions
)
:
Promise
<
Webhook
<
Type
>
>
Parameters
options
:
WebhookEditOptions
Returns
Promise
<
Webhook
<
Type
>
>
edit
Message
editMessage
(
message
:
MessageResolvable
,
options
:
string
|
MessagePayload
|
WebhookMessageEditOptions
,
)
:
Promise
<
Message
<
boolean
>
>
Parameters
message
:
MessageResolvable
options
:
string
|
MessagePayload
|
WebhookMessageEditOptions
Returns
Promise
<
Message
<
boolean
>
>
fetch
Message
fetchMessage
(
message
:
string
,
options
?:
WebhookFetchMessageOptions
,
)
:
Promise
<
Message
<
boolean
>
>
Parameters
message
:
string
Optional
options
:
WebhookFetchMessageOptions
Returns
Promise
<
Message
<
boolean
>
>
is
Application
Created
isApplicationCreated
()
:
this
is
Webhook
<
Application
>
Returns
this
is
Webhook
<
Application
>
is
Channel
Follower
isChannelFollower
()
:
this
is
Webhook
<
ChannelFollower
>
Returns
this
is
Webhook
<
ChannelFollower
>
is
Incoming
isIncoming
()
:
this
is
Webhook
<
Incoming
>
Returns
this
is
Webhook
<
Incoming
>
is
User
Created
isUserCreated
()
:
this
is
Webhook
<
Incoming
>
&
{
owner
:
APIUser
|
User
}
Returns
this
is
Webhook
<
Incoming
>
&
{
owner
:
APIUser
|
User
}
send
send
(
options
:
string
|
MessagePayload
|
WebhookMessageCreateOptions
,
)
:
Promise
<
Message
<
boolean
>
>
Parameters
options
:
string
|
MessagePayload
|
WebhookMessageCreateOptions
Returns
Promise
<
Message
<
boolean
>
>
send
Slack
Message
sendSlackMessage
(
body
:
unknown
)
:
Promise
<
boolean
>
Parameters
body
:
unknown
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
application
Id
avatar
channel
Id
client
guild
Id
id
name
owner
source
Channel
source
Guild
token
type
Accessors
channel
created
At
created
Timestamp
url
Methods
avatarURL
delete
delete
Message
edit
edit
Message
fetch
Message
is
Application
Created
is
Channel
Follower
is
Incoming
is
User
Created
send
send
Slack
Message
discord-js-button-pagination-ts
Loading...