Online fraud in name of work from home

I recently searched Work From Home scenario based in Bangalore and was searching in different job portals. In one of the job portal I found a job compelling and applied for it. The next day, they contacted me through WhatsApp and asked me to register in their website and provide Adhar card. I did so in hope of getting a work from home job. They sent me a bunch of documents in the registration process for me to accept to get the job and I accepted them.(For WFH scenario). After registration they sent me links to online classes on different subjects which was completely different to what I applied. I ignored them and did not open the links because Iam not interested in online classes and also I applied for a job, not to study. After 1 week, one of their representatives called me posing as a lawyer and asked me to pay Rs.5999+GST within 30 minutes or else they would file a complaint according to IPC for violating their agreement. They also threatened that if I don't pay the said amount I would end up in Surat, Gujarat paying around Rs.50,000 and legal expenses. Is that even legal for them to save my Adar card and threaten me with legal action because I didn't pay the money for which I did not even agree ? (I asked for Work Fron Home scenario, but they gave me online classes to study). What are my options here ? Should I worry about such calls or should I file a complaint against them ?