Package it.tdlight.jni
Class TdApi.MessagePassportDataReceived
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessagePassportDataReceived
- Enclosing class:
- TdApi
public static class TdApi.MessagePassportDataReceived extends TdApi.MessageContent
Telegram Passport data has been
received; for bots only.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.EncryptedCredentials
credentials
Encrypted data credentials.TdApi.EncryptedPassportElement[]
elements
List of received Telegram Passport elements. -
Constructor Summary
Constructors Constructor Description MessagePassportDataReceived()
Telegram Passport data has been received; for bots only.MessagePassportDataReceived(TdApi.EncryptedPassportElement[] elements, TdApi.EncryptedCredentials credentials)
Telegram Passport data has been received; for bots only.MessagePassportDataReceived(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
elements
List of received Telegram Passport elements. -
credentials
Encrypted data credentials. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessagePassportDataReceived
public MessagePassportDataReceived()Telegram Passport data has been received; for bots only. -
MessagePassportDataReceived
public MessagePassportDataReceived(TdApi.EncryptedPassportElement[] elements, TdApi.EncryptedCredentials credentials)Telegram Passport data has been received; for bots only.- Parameters:
elements
- EncryptedPassportElement[] List of received Telegram Passport elements.credentials
- EncryptedCredentials Encrypted data credentials.
-
MessagePassportDataReceived
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-