Class: TD::Types::InputIdentityDocument
- Defined in:
- lib/tdlib/types/input_identity_document.rb
Overview
An identity document to be saved to Telegram Passport.
Instance Attribute Summary collapse
-
#expiry_date ⇒ TD::Types::Date?
Document expiry date, if available.
-
#front_side ⇒ TD::Types::InputFile
Front side of the document.
-
#number ⇒ TD::Types::String
Document number; 1-24 characters.
-
#reverse_side ⇒ TD::Types::InputFile
Reverse side of the document; only for driver license and identity card.
-
#selfie ⇒ TD::Types::InputFile?
Selfie with the document, if available.
-
#translation ⇒ Array<TD::Types::InputFile>
List of files containing a certified English translation of the document.
Method Summary
Methods inherited from Base
Instance Attribute Details
#expiry_date ⇒ TD::Types::Date?
Document expiry date, if available.
11 12 13 |
# File 'lib/tdlib/types/input_identity_document.rb', line 11 def expiry_date @expiry_date end |
#front_side ⇒ TD::Types::InputFile
Front side of the document.
11 12 13 |
# File 'lib/tdlib/types/input_identity_document.rb', line 11 def front_side @front_side end |
#number ⇒ TD::Types::String
Document number; 1-24 characters.
11 12 13 |
# File 'lib/tdlib/types/input_identity_document.rb', line 11 def number @number end |
#reverse_side ⇒ TD::Types::InputFile
Reverse side of the document; only for driver license and identity card.
11 12 13 |
# File 'lib/tdlib/types/input_identity_document.rb', line 11 def reverse_side @reverse_side end |
#selfie ⇒ TD::Types::InputFile?
Selfie with the document, if available.
11 12 13 |
# File 'lib/tdlib/types/input_identity_document.rb', line 11 def selfie @selfie end |
#translation ⇒ Array<TD::Types::InputFile>
List of files containing a certified English translation of the document.
11 12 13 |
# File 'lib/tdlib/types/input_identity_document.rb', line 11 def translation @translation end |