I need close browser after some user actions what was opened by link click in Telegram chat. How to do this programmatically if it's possible?
You can achieve this by redirecting the browser to a telegram.me
link.
window.location.href = "https://telegram.me/yourbot"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With