Represents a webhook for an Interaction
Delete a message that was sent by this webhook.
Name | Type | Optional | Description |
---|---|---|---|
message | MessageResolvable | '@original' | No | The message to delete |
threadId | Snowflake | Yes | The id of the thread this message belongs to |
Edits a message that was sent by this webhook.
Returns
Returns the message edited by this webhookName | Type | Optional | Description |
---|---|---|---|
message | MessageResolvable | '@original' | 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 webhookName | Type | Optional | Description |
---|---|---|---|
message | Snowflake | '@original' | No | The id of the message to fetch |
Sends a message with this webhook.
Name | Type | Optional | Description |
---|---|---|---|
options | string | MessagePayload | InteractionReplyOptions | No | The content for the reply |