There are various methods for sending data to Telegram. However, in countries like Iran, Telegram is filtered, and users need to enable a VPN to send data. Fortunately, there are numerous ways to circumvent these data transmission restrictions, such as using HTTP debuggers. These methods allow you to bypass filtering and receive data without the need for a VPN.
๐Disclaimer:๐
Please note that the provided tutorial and code are intended for educational purposes only. Any misuse of this information is solely the responsibility of the user.
๐คCreate a Glitch Project:๐
Go to https://glitch.com/ and sign up or log in to your Glitch account. Click on the "New Project" button and select "Node.js" as the project template. Give your project a name and click on the "Create Project" button. https://glitch.com/edit/#!/remix/glitch-hello-node (Hello Node)
- Personal host (direct admin and cPanel)Replace Project Files with GitHub Repository Content -After creating the "Hello Node" project, follow these steps to replace the contents of the package.json and server.js files with the content from the provided -GitHub repository:
๐Delete Existing Files:๐
Open your Glitch project's editor. Delete the existing package.json and server.js files.
After applying the changes and embedding the codes, simply click on "Preview in a new window" to see your server address. (You may have to wait a bit for it to start up)
For example, my server address is: https://su*i*ing-inc*c*e-dr**ser.glitch.me/
This is just an example.
Alright. The server is ready... Now we can simply write a piece of Python code in the following style and apply the changes:
Change the numeric ID, bot token, and server address, and then run the Python code...
And just like that, we have bypassed Telegram filtering in Iran... Of course, more convenient methods like using a VPS require payment... But this is Iran, and we, the people of Iran, are forced to circumvent the limitations... Goodbye!