To create a Cloudflare Worker that acts as a bidirectional proxy between your domain and Telegram, follow these steps:
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request));
});
async function handleRequest(request) {