try { window.Telegram.WebApp.ready(); if(window.Telegram){ // Click Event const gotBack = () => { window.location.href = 'https://tg.asad.game'; }; window.Telegram.WebApp.BackButton.onClick(gotBack); window.Telegram.WebApp.BackButton.show(); } } catch (err) { console.log(log1--->initializeTelegramWebApp 2,err); }