url? I mean with like http://127.0.0.1:5000/bot_main.html
I don't think so, as I believe urls are requested client side, so they don't really know where your PC is, but if for testing purposes and your mobile and PC or server are on same network I think it might work
I wonder if the page is requested by telegram server or a client application directly I tried to launch local bot api in a docker container, used telegram test environment and gave local url to the webapp. But it didn't work. At the same time I made sure the url is available from inside of the docker container. And I inspected the network and the telegram app never even tried to reach this url
I don't know but I think they are ran client side, but there may be checks, like it was http not https don't load, or if it's a local IP don't load, I think this might have privacy issues or something
So how do you prefer to develop a webapp then? Do you place the page somewhere in the web and update it every time you need to run and test your code?
I didn't read that much into it
Ok, thank you very much I'll try to find some way to do it
Обсуждают сегодня