SetPassportElementErrors
public struct SetPassportElementErrors : Codable, Equatable, TDFunction
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
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
User identifier
Declaration
Swift
public let userId: Int32 -
The errors
Declaration
Swift
public let errors: [InputPassportElementError] -
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
Declaration
Swift
public init(userId: Int32, errors: [InputPassportElementError])Parameters
userIdUser identifier
errorsThe errors
View on GitHub
Install in Dash
SetPassportElementErrors Structure Reference