java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PassportRequiredElement
- Enclosing class:
- TdApi
Contains a description of the required Telegram Passport element that
was requested by a service.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.List of Telegram Passport elements any of which is enough to provide. -
Constructor Summary
ConstructorDescriptionContains a description of the required Telegram Passport element that was requested by a service.PassportRequiredElement
(TdApi.PassportSuitableElement[] suitableElements) Contains a description of the required Telegram Passport element that was requested by a service.PassportRequiredElement
(DataInput input) Contains a description of the required Telegram Passport element that was requested by a service. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
suitableElements
List of Telegram Passport elements any of which is enough to provide. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PassportRequiredElement
public PassportRequiredElement()Contains a description of the required Telegram Passport element that was requested by a service. -
PassportRequiredElement
Contains a description of the required Telegram Passport element that was requested by a service.- Parameters:
suitableElements
- List of Telegram Passport elements any of which is enough to provide.
-
PassportRequiredElement
Contains a description of the required Telegram Passport element that was requested by a service.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-