MadelineProtoDocs/old_docs/API_docs_v102/constructors/nearestDc.md
2019-06-24 15:45:02 +02:00

772 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];

Or, if you're into Lua:

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