- class telegram.PassportElementError(source, type, message, *, api_kwargs=None)[source]¶
Baseclass for the PassportElementError* classes.
This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their