PassportElementErrorFiles class

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

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

Implemented types
Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

PassportElementErrorFiles({EncryptedPassportElementSource? source = EncryptedPassportElementSource.files, EncryptedPassportElementType? type, List<String>? fileHashes, String? message})
PassportElementErrorFiles.fromJson(Map<String, dynamic> json)
factory

Properties

fileHashes ↔ List<String>?
List of base64-encoded file hashes.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
message ↔ String?
Error message.
getter/setter pairoverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source ↔ EncryptedPassportElementSource?
Error source, must be files.
getter/setter pairoverride
type ↔ EncryptedPassportElementType?
The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”.
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