- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionstatic final int
The errors.long
User identifier. -
Constructor Summary
ConstructorDescriptionInforms the user that some of the elements in their Telegram Passport contain errors; for bots only.SetPassportElementErrors
(long userId, TdApi.InputPassportElementError[] errors) Informs the user that some of the elements in their Telegram Passport contain errors; for bots only.Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public long userIdUser identifier. -
errors
The errors. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
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
- long User identifier.errors
- InputPassportElementError[] The errors.
-
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
- 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()
-