Class: TD::Types::InputPersonalDocument

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

Overview

A personal document to be saved to Telegram Passport.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#filesArray<TD::Types::InputFile>

List of files containing the pages of the document.

Returns:



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

def files
  @files
end

#translationArray<TD::Types::InputFile>

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

Returns:



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

def translation
  @translation
end