MadelineProtoDocs/old_docs/API_docs_v25/constructors/nearestDc.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

918 B

title description image
nearestDc Nearest DC https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: nearestDc

Back to constructors index

Nearest DC

Attributes:

Name Type Required Description
country string Yes Country
this_dc int Yes This DC
nearest_dc int Yes Nearest DC

Type: NearestDc

Example:

$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int];

PWRTelegram json-encoded version:

{"_": "nearestDc", "country": "string", "this_dc": int, "nearest_dc": int}

Or, if you're into Lua:

nearestDc={_='nearestDc', country='string', this_dc=int, nearest_dc=int}