Sending a message from Shortcuts to Telegram?

Hi. I’ve found information from Github and that you could utilise Telegram app tp send messages using this kind of URL

tg://msg?text={{SOMETEXT}}&to={{PHONENUMBER}}

but fail to get it work in Shortcuts (Mac or iPhone).

Shortcuts does ask if it can open Telegram, but absolutely nothing happens on Mac and on iPhone the message gets into “Saved Messages” view’s text field. And neither one sends it to recipient.

Has someone had any success on this?