Sha256: 79af35e326986ed4a20706edd9f22b4555edf0047b92a9a3133ccfa613c827a0

Contents?: true

Size: 609 Bytes

Versions: 6

Compression:

Stored size: 609 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class EncryptedPassportElement < Base
        attribute :type, Types::String
        attribute? :data, Types::String
        attribute? :phone_number, Types::String
        attribute? :email, Types::String
        attribute? :files, Types::Array.of(PassportFile)
        attribute? :front_side, PassportFile
        attribute? :reverse_side, PassportFile
        attribute? :selfie, PassportFile
        attribute? :translation, Types::Array.of(PassportFile)
        attribute :hash, Types::String
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/encrypted_passport_element.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/encrypted_passport_element.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/encrypted_passport_element.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/encrypted_passport_element.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/encrypted_passport_element.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/encrypted_passport_element.rb