public static class TdApi.PassportSuitableElement extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isNativeNameRequired
True, if personal details must include the user's name in the language of their country of residence.
|
boolean |
isSelfieRequired
True, if a selfie is required with the identity document.
|
boolean |
isTranslationRequired
True, if a certified English translation is required with the document.
|
TdApi.PassportElementType |
type
Type of the element.
|
Constructor and Description |
---|
PassportSuitableElement()
Contains information about a Telegram Passport element that was requested by a service.
|
PassportSuitableElement(TdApi.PassportElementType type,
boolean isSelfieRequired,
boolean isTranslationRequired,
boolean isNativeNameRequired)
Contains information about a Telegram Passport element that was requested by a service.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.PassportElementType type
public boolean isSelfieRequired
public boolean isTranslationRequired
public boolean isNativeNameRequired
public static final int CONSTRUCTOR
public PassportSuitableElement()
public PassportSuitableElement(TdApi.PassportElementType type, boolean isSelfieRequired, boolean isTranslationRequired, boolean isNativeNameRequired)
type
- Type of the element.isSelfieRequired
- True, if a selfie is required with the identity document.isTranslationRequired
- True, if a certified English translation is required with the document.isNativeNameRequired
- True, if personal details must include the user's name in the language of their country of residence.public int getConstructor()
getConstructor
in class TdApi.Object