Class ServerInvite

Server Invite

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

channelId: string
client?: Client
creatorId: string
id: string
serverId: string
type: "Group" | "None" | "Server"

Accessors

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