Nostrum.Api.create_webhook

You're seeing just the function create_webhook, go back to Nostrum.Api module for more information.
Link to this function

create_webhook(channel_id, args, reason \\ nil)

View Source

Specs

Creates a webhook.

Parameters

  • channel_id - Id of the channel to send the message to.
  • args - Map with the following required keys:
    • name - Name of the webhook.
    • avatar - Base64 128x128 jpeg image for the default avatar.
  • reason - An optional reason for the guild audit log.