Don't have Telegram yet? Try it now!
https://www.linuxuprising.com/2018/04/how-to-enable-minimize-on-click-for.html
How To Enable Minimize On Click For Ubuntu Dock (Ubuntu 18.04)