PassportElementErrorTranslationFiles class

Represents an issue with the translated version of a document.

The error is considered resolved when a file with the document translation change.

https://core.telegram.org/bots/api#passportelementerrortranslationfiles

Implemented types
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

PassportElementErrorTranslationFiles({required String source, required String type, required String message, required List<String> fileHashes})
PassportElementErrorTranslationFiles.fromJson(Map<String, dynamic> json)
factory

Properties

fileHashes List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
getter/setter pairoverride
type String
getter/setter pairoverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited