createInvite abstract method

Future<Invite> createInvite(
  1. Snowflake channelId, {
  2. int? maxAge,
  3. int? maxUses,
  4. bool? temporary,
  5. bool? unique,
  6. String? auditReason,
})

Creates new invite for given channelId

Implementation

Future<Invite> createInvite(Snowflake channelId,
    {int? maxAge,
    int? maxUses,
    bool? temporary,
    bool? unique,
    String? auditReason});