Package it.tdlight.jni
Class TdApi.RegisterUser
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.RegisterUser
- Enclosing class:
- TdApi
public static class TdApi.RegisterUser extends TdApi.Function
Finishes user registration. Works only
when the current authorization state is authorizationStateWaitRegistration.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
firstName
The first name of the user; 1-64 characters.String
lastName
The last name of the user; 0-64 characters. -
Constructor Summary
Constructors Constructor Description RegisterUser()
Finishes user registration.RegisterUser(DataInput input)
RegisterUser(String firstName, String lastName)
Finishes user registration. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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
- 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()
-