|
<< Click to Display Table of Contents >> Navigation: Telegram > 2022 > 08 > 23 > Telegram_2022-08-23T21 |
2022-08-23T21:04:37
I think you should consider using the domain name of the web site, instead of the IP. That's why DNS exists.
There is no way to reliably obtain the public IP of the request. The server can be installed behind a firewall, a load balancer, a proxy or reverse proxy server and so on. These servers can also be installed in cascade.
2022-08-23T21:06:23
However, if your link will be handled by the same application, then you just don't need to include the IP:Port info. Just create a link as ' type: bot_command /link ?value=1234' and it will be forwarded to the same server:port where the page is