Class: TD::Types::PassportElementsWithErrors

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/passport_elements_with_errors.rb

Overview

Contains information about a Telegram Passport elements and corresponding errors.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#elementsArray<TD::Types::PassportElement>

Telegram Passport elements.

Returns:



6
7
8
# File 'lib/tdlib/types/passport_elements_with_errors.rb', line 6

def elements
  @elements
end

#errorsArray<TD::Types::PassportElementError>

Errors in the elements that are already available.

Returns:



6
7
8
# File 'lib/tdlib/types/passport_elements_with_errors.rb', line 6

def errors
  @errors
end