Sha256: dabd4cb8cb4414809669c32975042e57db17a1e013c99033d7bc2ac7b841c09d
Contents?: true
Size: 1017 Bytes
Versions: 4
Compression:
Stored size: 1017 Bytes
Contents
module TD::Types # An identity document to be saved to Telegram Passport. # # @attr number [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
4 entries across 4 versions & 2 rubygems