zerobias / telegram-mtproto

Telegram client api (MTProto) library
MIT License
620 stars 136 forks source link

Webogram #197

Closed JRakhimov closed 5 years ago

JRakhimov commented 6 years ago

What is webogram: true is really do?

eilvelia commented 6 years ago

It connects to

dc1: https://pluto.web.telegram.org/apiw1
dc2: https://venus.web.telegram.org/apiw1
dc3: https://aurora.web.telegram.org/apiw1
dc4: https://vesta.web.telegram.org/apiw1
dc5: https://flora.web.telegram.org/apiw1

instead of

dc1: http://149.154.175.50/apiw1
dc2: http://149.154.167.51/apiw1
dc3: http://149.154.175.100/apiw1
dc4: http://149.154.167.91/apiw1
dc5: http://149.154.171.5/apiw1
JRakhimov commented 6 years ago

and what it gives to me? I have had suddenly error like Encrypted request failed { Error: MT[406] NETWORK_BAD_REQUEST: http://149.154.167.51/apiw1 so I experimented with webogram and added my own servers from my.telegram.org and everything is okay