async function editWebhookWithToken(
  webhookId,
  webhookToken,
  options,
) {
  return await rest.runMethod(
    "patch",
    endpoints.WEBHOOK(webhookId, webhookToken),
    options,
  );
}
/** Edit a webhook. Returns the updated webhook object on success. */
Edit a webhook. Returns the updated webhook object on success.
Edit a webhook . Returns the updated webhook object on success .
async function editWebhookWithToken(
  webhookId,
  webhookToken,
  options,
) {
  return await rest.runMethod(
    "patch",
    endpoints.WEBHOOK(webhookId, webhookToken),
    options,
  );
}
async function editWebhookWithToken ( webhookId , webhookToken , options , ) { return await rest . runMethod ( "patch" , endpoints . WEBHOOK ( webhookId , webhookToken ) , options , ) ; }
Edit a webhook.
Edit a webhook .