https://github.com/Metnew/telegram-links-nsworkspace-open
Summary
In Telegram for macOS v4.9.155353 (and below) URL parsing logic in Telegram for macOS platform allows running arbitrary executables and applications URI schemes via links injected into the website's preview.