Package org.drinkless.tdlib
Class TdApi.SetUsername
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SetUsername
-
- Enclosing class:
- TdApi
public static class TdApi.SetUsername extends TdApi.Function
Changes the username of the current user.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringusernameThe new value of the username.
-
Constructor Summary
Constructors Constructor Description SetUsername()Default constructor for a function, which changes the username of the current user.SetUsername(String username)Creates a function, which changes the username of the current user.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
username
public String username
The new value of the username. Use an empty string to remove the username.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetUsername
public SetUsername()
Default constructor for a function, which changes the username of the current user.Returns
Ok
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-