Can I create telegram link with preset text just like Whatsapp did?
https://wa.me/whatsappphonenumber?text=urlencodedtext
I couldn't find any of tips on the net.
I had tried this. It only open up telegram without text
tg://to=@username&text=presettext
I don't know if this worked before, and I couldn't find any official description of such a format, but now the format that works is similar to the one used in WhatsApp:
https://t.me/contact?text=text
This works both using the username (without @) and using the phone number (with +).
Now you can use draft_text param
https://core.telegram.org/api/links#public-username-links
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With