Make sure the web app is opened from the Telegram client.