Class: TD::Types::EncryptedPassportElement
- Defined in:
- lib/tdlib/types/encrypted_passport_element.rb
Overview
Contains information about an encrypted Telegram Passport element; for bots only.
Instance Attribute Summary collapse
-
#data ⇒ String
Encrypted JSON-encoded data about the user.
-
#files ⇒ Array<TD::Types::DatedFile>
List of attached files.
-
#front_side ⇒ TD::Types::DatedFile
The front side of an identity document.
-
#hash ⇒ TD::Types::String
Hash of the entire element.
-
#reverse_side ⇒ TD::Types::DatedFile?
The reverse side of an identity document; may be null.
-
#selfie ⇒ TD::Types::DatedFile?
Selfie with the document; may be null.
-
#translation ⇒ Array<TD::Types::DatedFile>
List of files containing a certified English translation of the document.
-
#type ⇒ TD::Types::PassportElementType
Type of Telegram Passport element.
-
#value ⇒ TD::Types::String
Unencrypted data, phone number or email address.
Method Summary
Methods inherited from Base
Instance Attribute Details
#data ⇒ String
Encrypted JSON-encoded data about the user.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def data @data end |
#files ⇒ Array<TD::Types::DatedFile>
List of attached files.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def files @files end |
#front_side ⇒ TD::Types::DatedFile
The front side of an identity document.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def front_side @front_side end |
#hash ⇒ TD::Types::String
Hash of the entire element.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def hash @hash end |
#reverse_side ⇒ TD::Types::DatedFile?
The reverse side of an identity document; may be null.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def reverse_side @reverse_side end |
#selfie ⇒ TD::Types::DatedFile?
Selfie with the document; may be null.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def selfie @selfie end |
#translation ⇒ Array<TD::Types::DatedFile>
List of files containing a certified English translation of the document.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def translation @translation end |
#type ⇒ TD::Types::PassportElementType
Type of Telegram Passport element.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def type @type end |
#value ⇒ TD::Types::String
Unencrypted data, phone number or email address.
14 15 16 |
# File 'lib/tdlib/types/encrypted_passport_element.rb', line 14 def value @value end |