- 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
FieldsModifier and TypeFieldDescriptionstatic final intThe errors.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionInforms 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
toStringMethods 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. ReturnsOk -
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. ReturnsOk- 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. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-