The webhook client.
Extends
WebhookMixin(BaseClient)| Name | Type | Optional | Description |
|---|---|---|---|
| data | WebhookClientData | No | None |
| options | WebhookClientOptions | Yes | None |
Edits a message that was sent by this webhook.
Returns
Returns the message edited by this webhook| Name | Type | Optional | Description |
|---|---|---|---|
| message | MessageResolvable | No | The message to edit |
| options | string | MessagePayload | WebhookMessageEditOptions | No | The options to provide |
Gets a message that was sent by this webhook.
Returns
Returns the message sent by this webhook| Name | Type | Optional | Description |
|---|---|---|---|
| message | Snowflake | No | The id of the message to fetch |
| options | WebhookFetchMessageOptions | Yes | The options to provide to fetch the message. |
Sends a message with this webhook.
| Name | Type | Optional | Description |
|---|---|---|---|
| options | string | MessagePayload | WebhookMessageCreateOptions | No | The content for the reply |