Package org.drinkless.tdlib
Class TdApi.SetPassportElementErrors
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.InputPassportElementError[]errorsThe errors.longuserIdUser identifier.
-
Constructor Summary
Constructors Constructor Description SetPassportElementErrors()Default constructor for a function, which informs the user that some of the elements in their Telegram Passport contain errors; for bots only.SetPassportElementErrors(long userId, TdApi.InputPassportElementError[] errors)Creates a function, which informs the user that some of the elements in their Telegram Passport contain errors; for bots only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
userId
public long userId
User identifier.
-
errors
public TdApi.InputPassportElementError[] errors
The errors.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SetPassportElementErrors
public SetPassportElementErrors()
Default constructor for a function, which 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
public SetPassportElementErrors(long userId, TdApi.InputPassportElementError[] errors)Creates a function, which 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- User identifier.errors- The errors.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-