- Enclosing class:
- TdApi
Changes the editable username of the current user.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The new value of the username. -
Constructor Summary
ConstructorDescriptionChanges the editable username of the current user.SetUsername
(DataInput input) Changes the editable username of the current user.SetUsername
(String username) Changes the editable 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. The username can't be completely removed if there is another active or disabled username. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetUsername
public SetUsername()Changes the editable username of the current user. ReturnsOk
-
SetUsername
Changes the editable username of the current user. ReturnsOk
- Parameters:
username
- String The new value of the username. Use an empty string to remove the username. The username can't be completely removed if there is another active or disabled username.
-
SetUsername
Changes the editable 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()
-