public static class TdApi.SendPassportAuthorizationForm extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
int |
autorizationFormId
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 autorizationFormId,
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() |
toString
public int autorizationFormId
public TdApi.PassportElementType[] types
public static final int CONSTRUCTOR
public SendPassportAuthorizationForm()
Returns Ok
public SendPassportAuthorizationForm(int autorizationFormId, TdApi.PassportElementType[] types)
Returns Ok
autorizationFormId
- Authorization form identifier.types
- Types of Telegram Passport elements chosen by user to complete the authorization form.public int getConstructor()
getConstructor
in class TdApi.Function