Class: TD::Types::IdentityDocument
- Defined in:
- lib/tdlib/types/identity_document.rb
Overview
An identity document.
Instance Attribute Summary collapse
-
#expiration_date ⇒ TD::Types::Date?
Document expiration date; may be null if not applicable.
-
#front_side ⇒ TD::Types::DatedFile
Front side of the document.
-
#number ⇒ TD::Types::String
Document number; 1-24 characters.
-
#reverse_side ⇒ TD::Types::DatedFile?
Reverse side of the document; only for driver license and identity card; 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.
Method Summary
Methods inherited from Base
Instance Attribute Details
#expiration_date ⇒ TD::Types::Date?
Document expiration date; may be null if not applicable.
12 13 14 |
# File 'lib/tdlib/types/identity_document.rb', line 12 def expiration_date @expiration_date end |
#front_side ⇒ TD::Types::DatedFile
Front side of the document.
12 13 14 |
# File 'lib/tdlib/types/identity_document.rb', line 12 def front_side @front_side end |
#number ⇒ TD::Types::String
Document number; 1-24 characters.
12 13 14 |
# File 'lib/tdlib/types/identity_document.rb', line 12 def number @number end |
#reverse_side ⇒ TD::Types::DatedFile?
Reverse side of the document; only for driver license and identity card; may be null.
12 13 14 |
# File 'lib/tdlib/types/identity_document.rb', line 12 def reverse_side @reverse_side end |
#selfie ⇒ TD::Types::DatedFile?
Selfie with the document; may be null.
12 13 14 |
# File 'lib/tdlib/types/identity_document.rb', line 12 def selfie @selfie end |
#translation ⇒ Array<TD::Types::DatedFile>
List of files containing a certified English translation of the document.
12 13 14 |
# File 'lib/tdlib/types/identity_document.rb', line 12 def translation @translation end |