telegram.PassportElementErrorTranslationFile#
- class telegram.PassportElementErrorTranslationFile(*args, **kwargs)[source]#
Bases:
telegram.PassportElementErrorRepresents 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, andmessageare equal.- Parameters