WebhookClient
A REST client for a specific webhook
Parameters
webhookId
The id of the webhook
client
The REST client implementation
Functions
Link copied to clipboard
Delete this webhook.
Delete this webhook using the secure token.
Link copied to clipboard
Deletes a message created by this webhook.
Link copied to clipboard
Get this webhook.
Get this webhook using the secure token.
Link copied to clipboard
Update this webhook.
Update this webhook using the secure token.
Link copied to clipboard
suspend fun updateWebhookMessage(webhookToken: String, messageId: String, messageEdit: MessageEdit): Message
suspend fun updateWebhookMessage(webhookToken: String, messageId: String, messageEdit: PatchWebhookMessage): Message
Edit a message created by this webhook.