Class: TD::Types::InputPassportElementErrorSource::DataField

Inherits:
TD::Types::InputPassportElementErrorSource show all
Defined in:
lib/tdlib/types/input_passport_element_error_source/data_field.rb

Overview

A data field contains an error. The error is considered resolved when the field’s value changes.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#data_hashString

Current data hash.

Returns:

  • (String)

    the current value of data_hash



7
8
9
# File 'lib/tdlib/types/input_passport_element_error_source/data_field.rb', line 7

def data_hash
  @data_hash
end

#field_nameTD::Types::String

Field name.

Returns:

  • (TD::Types::String)

    the current value of field_name



7
8
9
# File 'lib/tdlib/types/input_passport_element_error_source/data_field.rb', line 7

def field_name
  @field_name
end