Class: TD::Types::PersonalDocument

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

Overview

A personal document, containing some information about a user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#filesArray<TD::Types::DatedFile>

List of files containing the pages of the document.

Returns:



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

def files
  @files
end

#translationArray<TD::Types::DatedFile>

List of files containing a certified English translation of the document.

Returns:



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

def translation
  @translation
end