createWebhook abstract method

Future<Webhook> createWebhook(
  1. Snowflake channelId,
  2. String name, {
  3. AttachmentBuilder? avatarAttachment,
  4. String? auditReason,
})

Crates new webhook

Implementation

Future<Webhook> createWebhook(Snowflake channelId, String name,
    {AttachmentBuilder? avatarAttachment,
    String? auditReason});