Handles User related API requests

Constructors

Properties

auth: default

The AuthService for this instance

Methods

  • Creates a new User

    NOTE: This User will need to accept the EULA before they can use the API.

    Returns Promise<boolean>

  • Get the number of Badges for the current User

    Returns Promise<null | number>

  • Get the number of unread Activities for the current User

    Returns Promise<null | number>

  • Get the number of unread Chats for the current User

    Returns Promise<null | number>

  • Change the current User's ChatProfile

    Parameters

    • gender: string

      The gender to set

    • age: string

      The age to set

    • latitude: Number

      The latitude to set

    • longitude: Number

      The longitude to set

    Returns Promise<boolean>

Generated using TypeDoc