PassportElementErrorSelfie class
Represents an issue with the selfie with a document. The error is considered resolved when the file with the selfie changes.
https://core.telegram.org/bots/api#passportelementerrorselfie
- Implemented types
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
- PassportElementErrorSelfie({EncryptedPassportElementSource? source = EncryptedPassportElementSource.selfie, EncryptedPassportElementType? type, String? fileHash, String? message})
-
PassportElementErrorSelfie.fromJson(Map<
String, dynamic> json) -
factory
Properties
- fileHash ↔ String?
-
Base64-encoded hash of the file with the selfie.
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 selfie.
getter/setter pairoverride
- type ↔ EncryptedPassportElementType?
-
The section of the user's Telegram Passport which has the issue, one of
“passport”, “driver_license”, “identity_card”, “internal_passport”.
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