Function createUserProfile

  • Creates user profile. If no nickname argument is passed, a random nickname will be generated.

    Parameters

    • args: {
          nickname?: string;
      }
      • Optional nickname?: string

        Optional nickname

    Returns Promise<IUserProfile>

    Async

    Since

    0.1.0

    Example

    createUserProfile({ nickname: 'Test Nickname' }).then(profile => console.log(profile))
    

Generated using TypeDoc