- Enclosing class:
- TdApi
Changes the username of the current user.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The new value of the username. -
Constructor Summary
ConstructorDescriptionChanges the username of the current user.SetUsername
(DataInput input) Changes the username of the current user.SetUsername
(String username) Changes the username 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
-
username
The new value of the username. Use an empty string to remove the username. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetUsername
public SetUsername()Changes the username of the current user. ReturnsOk
-
SetUsername
Changes the username of the current user. ReturnsOk
- Parameters:
username
- String The new value of the username. Use an empty string to remove the username.
-
SetUsername
Changes the username of the current user. 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()
-