public static class TdApi.SendPassportAuthorizationForm extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
int |
authorizationFormId
Authorization form identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.PassportElementType[] |
types
Types of Telegram Passport elements chosen by user to complete the authorization form.
|
| Constructor and Description |
|---|
SendPassportAuthorizationForm()
Default constructor for a function, which sends a Telegram Passport authorization form, effectively sharing data with the service.
|
SendPassportAuthorizationForm(int authorizationFormId,
TdApi.PassportElementType[] types)
Creates a function, which sends a Telegram Passport authorization form, effectively sharing data with the service.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int authorizationFormId
public TdApi.PassportElementType[] types
public static final int CONSTRUCTOR
public SendPassportAuthorizationForm()
Returns Ok
public SendPassportAuthorizationForm(int authorizationFormId,
TdApi.PassportElementType[] types)
Returns Ok
authorizationFormId - Authorization form identifier.types - Types of Telegram Passport elements chosen by user to complete the authorization form.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object