// Cloudflare Worker example for Google Calendar integration // Your Google Calendar API base URL const GOOGLE_CALENDAR_API_BASE_URL = 'https://www.googleapis.com/calendar/v3'; // Replace 'YOUR_GOOGLE_CALENDAR_API_KEY' with your actual Google Calendar API key const GOOGLE_CALENDAR_API_KEY = 'YOUR_GOOGLE_CALENDAR_API_KEY'; // Replace 'YOUR_CALENDAR_ID' with your actual public holiday calendar ID const CALENDAR_ID = 'YOUR_CALENDAR_ID'; // Replace 'YOUR_TELEGRAM_BOT_TOKEN' with your actual Telegram bot token const TELEGRAM_BOT_TOKEN = '6489390855:AAHRAjPEKnT8DaVG50KYnR-lbKDadpbJiAA'; // Cloudflare Worker code addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)) }) /** * Sends a Telegram response to the specified chat ID with the given message.