execute

suspend fun execute(webhookToken: String, message: CreateWebhookMessage, waitForValidation: Boolean = true): Message(source)

Execute the webhook.

Return

The created message

Parameters

webhookToken

The webhook's secure token.

message

The post the webhook will make.

waitForValidation

Wait for the message to be posted before the call returns. Defaults to false.

Throws