long

worKaround stuff

Using Telegram API even if the host doesn't let you to

By using Cloudflare worker you can proxy your request; You send the worker the request, and then the worker sends it to Telegram.

There are many reasons why you wanna do this. The most obvious one is: you can't access the API directly. Your host might be blocking it, Telegram could be banned in your region, or even you just don't want your servers to do the heavy lifting. By using a Telegram Bot and Cloudflare worker you can make your life easier. BTW, it's free.

So I'm going to send someone a simple message using a simple script.

Let's start by creating a Bot in Telegram

Setting up the Cloudflare worker

Github repo: github.com/unixnexo/telegram-api-bypass