- Enclosing class:
- TdApi
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 Summary
Modifier and TypeFieldDescriptionstatic final int
The new location of the user. -
Constructor Summary
ConstructorDescriptionChanges the location of the current user.SetLocation
(TdApi.Location location) Changes the location of the current user.SetLocation
(DataInput input) Changes the location of the current user. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
location
The new location of the user. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
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. ReturnsOk
-
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. ReturnsOk
- Parameters:
location
- Location The new location of the user.
-
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. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-