EncryptedPassportElement class

Contains information about documents or other Telegram Passport elements shared with the bot by the user.

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

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

EncryptedPassportElement({required String type, String? data, String? phoneNumber, String? email, List<PassportFile>? files, PassportFile? frontSide, PassportFile? reverseSide, PassportFile? selfie, List<PassportFile>? translation, required String hash})
EncryptedPassportElement.fromJson(Map<String, dynamic> json)
factory

Properties

data String?
getter/setter pair
email String?
getter/setter pair
files List<PassportFile>?
getter/setter pair
frontSide PassportFile?
getter/setter pair
hash String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
phoneNumber String?
getter/setter pair
reverseSide PassportFile?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfie PassportFile?
getter/setter pair
translation List<PassportFile>?
getter/setter pair
type String
getter/setter pair

Methods

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

Operators

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