Sha256: dbeb64de99a5575c5ff79a2ff0e20d1dfab6d87cd88b65dc8a1b76d5c374f2e0
Contents?: true
Size: 988 Bytes
Versions: 2
Compression:
Stored size: 988 Bytes
Contents
module TD::Types # An identity document. # # @attr number [TD::Types::String] Document number; 1-24 characters. # @attr expiry_date [TD::Types::Date, nil] Document expiry date; may be null. # @attr front_side [TD::Types::DatedFile] Front side of the document. # @attr reverse_side [TD::Types::DatedFile] Reverse side of the document; only for driver license and identity card. # @attr selfie [TD::Types::DatedFile, nil] Selfie with the document; may be null. # @attr translation [Array<TD::Types::DatedFile>] List of files containing a certified English translation of the # document. class IdentityDocument < Base attribute :number, TD::Types::String attribute :expiry_date, TD::Types::Date.optional.default(nil) attribute :front_side, TD::Types::DatedFile attribute :reverse_side, TD::Types::DatedFile attribute :selfie, TD::Types::DatedFile.optional.default(nil) attribute :translation, TD::Types::Array.of(TD::Types::DatedFile) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/identity_document.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/identity_document.rb |