public static class TdApi.SetName extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
firstName
The new value of the first name for the current user; 1-64 characters.
|
java.lang.String |
lastName
The new value of the optional last name for the current user; 0-64 characters.
|
Constructor and Description |
---|
SetName()
Default constructor for a function, which changes the first and last name of the current user.
|
SetName(java.lang.String firstName,
java.lang.String lastName)
Creates a function, which changes the first and last name of the current user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String firstName
public java.lang.String lastName
public static final int CONSTRUCTOR
public SetName()
Returns Ok
public SetName(java.lang.String firstName, java.lang.String lastName)
Returns Ok
firstName
- The new value of the first name for the current user; 1-64 characters.lastName
- The new value of the optional last name for the current user; 0-64 characters.public int getConstructor()
getConstructor
in class TdApi.Function