- 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
FieldsModifier and TypeFieldDescriptionstatic final intThe new location of the user. -
Constructor Summary
ConstructorsConstructorDescriptionChanges 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-