createWebhook abstract method

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

Crates new webhook

Implementation

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