PassportElementErrorFrontSide¶
- class telegram.PassportElementErrorFrontSide(type, file_hash, message, *, api_kwargs=None)[source]¶
Bases:
telegram.PassportElementErrorRepresents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
source,type,file_hash, andmessageare equal.- Parameters: