Recently I was using web telegram platform as I wasn't able to use the app. As I was using a public wifi soon a worker from that venue came to see whose computer was mining cryptocurrency with malware.
What we found out is that it starts when the web telegram is opened in the browser. Could it be that it's written in the code or something? Is it safe to use it? Has anyone heard of the same problem before?
I am assuming that this could be happen because of the computer that running Web telegram are clicking something like this :

Or maybe something similar from this, such as .scr (it could be script)