WebhookFields

export interface WebhookFields extends PartialWebhookFields
export interface WebhookFields extends PartialWebhookFields

No summary provided.

Readonly
createdAt:Date
Readonly
createdTimestamp:number
Readonly
url:string
Inherited from PartialWebhookFields
delete(reason?):Promise<void>
NameTypeOptionalDescription
reasonstringYesNone
deleteMessage(message, threadId?):Promise<void>
NameTypeOptionalDescription
messageMessageResolvable | APIMessage | '@original'NoNone
threadIdSnowflakeYesNone
Inherited from PartialWebhookFields
edit(options):Promise<Webhook>
NameTypeOptionalDescription
optionsWebhookEditOptionsNoNone
editMessage(message, options):Promise<APIMessage | Message>
NameTypeOptionalDescription
messageMessageResolvable | '@original'NoNone
optionsstring | MessagePayload | WebhookMessageEditOptionsNoNone
Inherited from PartialWebhookFields
fetchMessage(message, options?):Promise<APIMessage | Message>
NameTypeOptionalDescription
messageSnowflake | '@original'NoNone
optionsWebhookFetchMessageOptionsYesNone
Inherited from PartialWebhookFields
send(options):Promise<APIMessage | Message>
NameTypeOptionalDescription
optionsstring | MessagePayload | InteractionReplyOptions | WebhookMessageCreateOptionsNoNone
Inherited from PartialWebhookFields
sendSlackMessage(body):Promise<boolean>
NameTypeOptionalDescription
bodyunknownNoNone