Class ChannelInviteAbstract

Channel Invite

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

client?: Client
type: "Group" | "None" | "Server"

Methods

  • Create an Invite from an API Invite

    Parameters

    • client: Client

      Client

    • invite: {
          _id: string;
          channel: string;
          creator: string;
          server: string;
          type: "Server";
      } | {
          _id: string;
          channel: string;
          creator: string;
          type: "Group";
      }

      Data

    Returns ChannelInvite

    Invite

Generated using TypeDoc