Just tried on Telegram, VK and even in Slack on the web, works fine, the link is recognized completely. Not sure why it’s incorrect for you.
Ah, I think I found the issue. Do you copy the link by right clicking the frame and going to copy/paste → copy link? This is the most ineffective link copying method so I even forgot it exists. And I can replicate the issue on some messengers when copying the link in such a way. See link above on how to copy the link faster.
In this case it can be considered a bug, you can report it to Figma support team via the bug report form with the detailed reproduction steps.