getWebhook

suspend fun getWebhook(): Webhook(source)

Get this webhook.

Return

This webhook.

Throws


suspend fun getWebhook(webhookToken: String): Webhook(source)

Get this webhook using the secure token.

Does not require authentication and does not include the com.jessecorbett.diskord.api.common.User.

Return

This webhook, minus the user.

Parameters

webhookToken

The webhook's secure token.

Throws