on-internet
← Community

Telegram API send message special character

Stack Overflow ·

I need to send a URL that contains the special character # through Telegram API post request. I currently use HTML as parse mode. The message to send is something like: <a href='www.example.com/#/otherparams'>inline link example</a> But when I send the message, the substring of the URL from the # to the end is automatically deleted. I tried to encode the # with the related ASCII code %23 and the message is sent correctly. But the when I click on the link, the URL doesn't work. I think there isn't a resolution of %23. If I manually replace the ASCII code in the URL bar of the browser with #, it

Comments

Sign in or sign up to comment and upvote.

No comments yet.