Don't have Telegram yet? Try it now!
https://mandarapte.com/apple/disable-remove-close-minimise-resize-button-mac-osx-apps-title-bar-developing-app-xcode/
How to disable or remove close, minimise, resize button from Mac OSX App’s title bar while developing the same app in Xcode