Websocket stream

Hi i`m trying to run a python script which contain a telegram bot, Bot is working with websocket stream library aka wss, there is a function " on_message " which is the problem, Thats is not working, I tried it on my PC it works but when bring it to the replit it does not,

Please provide any relevant information such as the link to your Repl and the error message so we can take a look