Created attachment 221463 [details]
patch API usage
Looks like the net/libusrsctp update in r561195 causes telegram-desktop to fail to build due to an API change.
the upstream change at  added an argument to a callback which causes a failure.
I'm attaching a patch which fixed it for me.
A commit references this bug:
Date: Mon Jan 11 19:22:22 UTC 2021
New revision: 561249
net-im/telegram-desktop: Fix the build failure caused by net/libusrsctp update
libusrsctp significantly changed API without bumping SONAME.
The upstream is notified.
Submitted by: madpilot