PassportElementErrorDataField class

Represents an issue in one of the data fields that was provided by the user.

The error is considered resolved when the field's value changes.

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

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

Constructors

PassportElementErrorDataField({required String source, required String type, required String message, required String fieldName, required String dataHash})
PassportElementErrorDataField.fromJson(Map<String, dynamic> json)
factory

Properties

dataHash String
getter/setter pair
fieldName 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