updateWebhookMessage

suspend fun updateWebhookMessage(webhookToken: String, messageId: String, messageEdit: PatchWebhookMessage): Message(source)

Edit a message created by this webhook.

Return

The edited message

Parameters

webhookToken

The webhook's secure token.

messageId

The message this webhook created to edit.

messageEdit

The message edit.

Throws


suspend fun updateWebhookMessage(webhookToken: String, messageId: String, messageEdit: MessageEdit): Message(source)

Deprecated

Use variant with PatchWebhookMessage instead.

Replace with

updateWebhookMessage

Edit a message created by this webhook.

Return

The edited message

Parameters

webhookToken

The webhook's secure token.

messageId

The message this webhook created to edit.

messageEdit

The message edit.

Throws