Comments (3)
Yep, It's 149.154.167.50 for me too, but that's just the "entry point" where you can execute GetConfig to retrieve all the updated DC IPs and here is where I take them.
from pyrogram.
>>> r = client.send(functions.help.GetConfig())
>>> print(r)
{
"_": "types.Config",
"phonecalls_enabled": false,
"default_p2p_contacts": false,
"date": 1520436593,
"expires": 1520440785,
"test_mode": false,
"this_dc": 1,
"dc_options": [
{
"_": "types.DcOption",
"ipv6": false,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 1,
"ip_address": "149.154.175.50",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": true,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 1,
"ip_address": "2001:0b28:f23d:f001:0000:0000:0000:000a",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": false,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 2,
"ip_address": "149.154.167.51",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": false,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": true,
"id": 2,
"ip_address": "149.154.167.51",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": true,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 2,
"ip_address": "2001:067c:04e8:f002:0000:0000:0000:000a",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": false,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 3,
"ip_address": "149.154.175.100",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": true,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 3,
"ip_address": "2001:0b28:f23d:f003:0000:0000:0000:000a",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": false,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 4,
"ip_address": "149.154.167.92",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": true,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 4,
"ip_address": "2001:067c:04e8:f004:0000:0000:0000:000a",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": false,
"media_only": true,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 4,
"ip_address": "149.154.165.120",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": false,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 5,
"ip_address": "91.108.56.113",
"port": 443
},
{
"_": "types.DcOption",
"ipv6": true,
"media_only": false,
"tcpo_only": false,
"cdn": false,
"static": false,
"id": 5,
"ip_address": "2001:0b28:f23f:f005:0000:0000:0000:000a",
"port": 443
}
],
"chat_size_max": 200,
"megagroup_size_max": 100000,
"forwarded_count_max": 100,
"online_update_period_ms": 120000,
"offline_blur_timeout_ms": 5000,
"offline_idle_timeout_ms": 30000,
"online_cloud_timeout_ms": 300000,
"notify_cloud_delay_ms": 30000,
"notify_default_delay_ms": 1500,
"chat_big_size": 10,
"push_chat_period_ms": 60000,
"push_chat_limit": 2,
"saved_gifs_limit": 200,
"edit_time_limit": 172800,
"rating_e_decay": 2419200,
"stickers_recent_limit": 30,
"stickers_faved_limit": 5,
"channels_read_media_period": 604800,
"tmp_sessions": null,
"pinned_dialogs_count_max": 5,
"call_receive_timeout_ms": 20000,
"call_ring_timeout_ms": 90000,
"call_connect_timeout_ms": 30000,
"call_packet_timeout_ms": 10000,
"me_url_prefix": "https://t.me/",
"suggested_lang_code": null,
"lang_pack_version": null,
"disabled_features": []
}
from pyrogram.
hm... strange. "Production configuration" from my.telegram.org give me 149.154.167.50
from pyrogram.
Related Issues (20)
- Document download problem
- [PROPOSAL] Pass the project to someone else HOT 3
- Message not received from a certain telegram channel HOT 23
- Can't send media due to 401(AuthKeyUnregistered) error HOT 1
- Clarification related to how it upload more than 50mb? HOT 3
- key error 0 HOT 3
- Add support for bots to be able to react to messages HOT 1
- Pyrogram freezes & fails to further execute HOT 4
- I can't use pyrogram as pytest.fixture
- my code stopped working , maybe some telegram api changed? HOT 5
- entites in the send_poll HOT 1
- IT WOULD BE BETTER TO FAIL Client.start IF PROXY IS FAILED TO CONNECT ONCE INSTEAD OF INFINITELY TRYING TO CONNECT TO IT
- search Public channel & search Public hashtag HOT 2
- Get similar channels implementation for raw usage HOT 1
- "messages.GetMessagesViews" Always Returns Error HOT 1
- blockquote not worked HOT 2
- Incorrect Method Name in Documentation for get_chat_history_count HOT 1
- Unable to Access Private Channels Using Channel ID in Pyrogram HOT 2
- Message effect id
- Managing connection lost exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrogram.