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