public static class TdApi.RegisterUser extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
disableNotification
Pass true to disable notification about the current user joining Telegram for other users that added them to contact list.
|
java.lang.String |
firstName
The first name of the user; 1-64 characters.
|
java.lang.String |
lastName
The last name of the user; 0-64 characters.
|
| Constructor and Description |
|---|
RegisterUser()
Default constructor for a function, which finishes user registration.
|
RegisterUser(java.lang.String firstName,
java.lang.String lastName,
boolean disableNotification)
Creates a function, which finishes user registration.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String firstName
public java.lang.String lastName
public boolean disableNotification
public static final int CONSTRUCTOR
public RegisterUser()
Returns Ok
public RegisterUser(java.lang.String firstName,
java.lang.String lastName,
boolean disableNotification)
Returns Ok
firstName - The first name of the user; 1-64 characters.lastName - The last name of the user; 0-64 characters.disableNotification - Pass true to disable notification about the current user joining Telegram for other users that added them to contact list.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object