Class TdApi.SetLocation

Enclosing class:
TdApi

public static class TdApi.SetLocation
extends TdApi.Function
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 Ok

  • Field Details

  • Constructor Details

    • SetLocation

      public SetLocation()
      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 Ok

    • SetLocation

      public SetLocation​(TdApi.Location location)
      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 Ok

      Parameters:
      location - Location The new location of the user.
    • SetLocation

      public SetLocation​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details