PassportElementErrorTranslationFile¶
- class telegram.PassportElementErrorTranslationFile(type, file_hash, message, *, api_kwargs=None)[source]¶
Bases:
telegram.PassportElementError
Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file 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
, andmessage
are equal.- Parameters: