- Enclosing class:
- TdApi
Finishes user registration. Works only
when the current authorization state is authorizationStateWaitRegistration.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The first name of the user; 1-64 characters.The last name of the user; 0-64 characters. -
Constructor Summary
ConstructorDescriptionFinishes user registration.RegisterUser
(DataInput input) Finishes user registration.RegisterUser
(String firstName, String lastName) Finishes user registration. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
firstName
The first name of the user; 1-64 characters. -
lastName
The last name of the user; 0-64 characters. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RegisterUser
public RegisterUser()Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration.Returns
Ok
-
RegisterUser
Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration.Returns
Ok
- Parameters:
firstName
- String The first name of the user; 1-64 characters.lastName
- String The last name of the user; 0-64 characters.
-
RegisterUser
Finishes user registration. Works only when the current authorization state is authorizationStateWaitRegistration.Returns
Ok
- 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()
-