Telegram Desktop since 2.2.0 version requires these privates headers for Wayland integration. I had to copy a piece of build tree of the qtwayland-opensource-src package to telegram-desktop. Please install all the headers to ordinary "-dev" binary packages or provide a special "-private-dev" package.
https://salsa.debian.org/debian/telegram-desktop/-/commit/41e7ad4cdb6528a6659d61b68facb543958365be#a243a023b669d91df064d7708b91117d55c6f55d
signature.asc
Description: This is a digitally signed message part