I tried to build Telegram X from latest commit using instructions provided in repository, and building failed with this bunch of errors:
ld: error: cannot open tgcalls/libusrsctp.a: No such file or directory
ld: error: cannot open tgcalls/libsrtp.a: No such file or directory
ld: error: cannot open tgcalls/libopenh264.a: No such file or directory
ld: error: cannot open tgcalls/libabsl.a: No such file or directory
ld: error: cannot open tgcalls/libjson11.a: No such file or directory
ld: error: cannot open tgcalls/librnnoise.a: No such file or directory
ld: error: cannot open tgcalls/libwebrtc.a: No such file or directory
ld: error: cannot open tgcalls/libtgcalls.a: No such file or directory
My friend was able to reproduce this.
After that, I tried to search what may cause that issue, and found this commit, then I git checkouted commit before (this one) and updated git submodules, this time build was successful.