Constructors

Methods

  • Parameters

    • __namedParameters: {
          auth: string;
          code: string;
          platform:
              | "kick"
              | "twitch"
              | "rumble"
              | "youtube"
              | "club";
          state?: string;
      }
      • auth: string
      • code: string
      • platform:
            | "kick"
            | "twitch"
            | "rumble"
            | "youtube"
            | "club"
      • Optionalstate?: string

    Returns Promise<WebResponse<string>>

  • Parameters

    • __namedParameters: {
          platform: "kick" | "twitch";
      }
      • platform: "kick" | "twitch"

    Returns Promise<WebResponse<string>>

  • The one server upgrade that comes with User Premium: where it currently sits, and whether it can be moved yet. Everything the dashboard needs is inside data - a field beside it would exist at runtime and be invisible to these types.

    Parameters

    • __namedParameters: {
          auth: string;
      }
      • auth: string

    Returns Promise<WebResponse<ServerPremiumState>>

  • Parameters

    • __namedParameters: {
          auth: string;
          platform:
              | "kick"
              | "twitch"
              | "rumble"
              | "youtube"
              | "club";
      }
      • auth: string
      • platform:
            | "kick"
            | "twitch"
            | "rumble"
            | "youtube"
            | "club"

    Returns Promise<WebResponse<string>>