View Source ExTDLib.Method.SetLocation (ExTDLib v0.0.4)

Changes the location of the current user. Needs to be called if getOption("is_location_visible") is true and location changes for more than 1 kilometer. Returns object_ptr<Ok>.

NameTypeDescription
locationlocationThe new location of the user.

More details on telegram's documentation.