Package it.tdlight.jni
Class TdApi.SetPassportElementErrors
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetPassportElementErrors
- Enclosing class:
- TdApi
public static class TdApi.SetPassportElementErrors extends TdApi.Function
Informs the user that some of the
elements in their Telegram Passport
contain errors; for bots only. The
user will not be able to resend the
elements, until the errors are fixed.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.InputPassportElementError[]
errors
The errors.int
userId
User identifier. -
Constructor Summary
Constructors Constructor Description SetPassportElementErrors()
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.SetPassportElementErrors(int userId, TdApi.InputPassportElementError[] errors)
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.SetPassportElementErrors(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public int userIdUser identifier. -
errors
The errors. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetPassportElementErrors
public SetPassportElementErrors()Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed.Returns
Ok
-
SetPassportElementErrors
Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed.Returns
Ok
- Parameters:
userId
- int User identifier.errors
- InputPassportElementError[] The errors.
-
SetPassportElementErrors
- 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()
-