telegram api method · layer 229 · #1fb33026

help.getNearestDc

usable by users

Returns info on data center nearest to the user.

definition

help.getNearestDc#1fb33026 = NearestDc;

parameters

no parameters

returns

NearestDc

errors (1)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.

history

present in layers 2–229

idlayers
#1fb330262–229