Class ChannelInviteAbstract

Channel Invite

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

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

Methods

  • Create an Invite from an API Invite

    Returns

    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

Generated using TypeDoc