osmbot
osmbot copied to clipboard
Add support to tel URI for phone and mobile data
Right now, a telephone number is shown in plain text. The bot should use link in order to start a call: instead of +XXXXXXX
there should be an URL to tel:+XXXXXXX
Thank you Michael I will change it as soon I can
Thank you :)
@airon90 I checked it and I have two doubts. In wich Telegram application it happens? (Telegram desktop ,mobile Android or IOs) In wich command happens? on /detailsnod1819099866 or /phonenod1819099866
In wich Telegram application it happens? (Telegram desktop ,mobile Android or IOs)
Mobile (Android) and desktop
In wich command happens? on /detailsnod1819099866 or /phonenod1819099866
No command, I used the inline bot: I wrote @osmbot
, looked for the element I was looking for and chose it. I tested /detailsnod5976037776
right now and it shows raw data of phone too. /phonenod5976037776
is not working.
FYI the element is https://www.openstreetmap.org/node/5976037776
@airon90 I did the change but it seems that this depends on the Telegram client https://github.com/Xevib/osmbot/commit/2a9d474c6e597311b42f41eaebe4fd244e30ce1c
Seems there is more people with the same issue https://stackoverflow.com/questions/40590683/how-to-make-phone-number-a-link-in-telegram-bot