Sha256: 16e7a7c9e140c2ae82a655f273f6b15f7427e1d718c19128b69817fc0963fa42

Contents?: true

Size: 811 Bytes

Versions: 7

Compression:

Stored size: 811 Bytes

Contents

module TD::Types
  # Contains information about a Telegram Passport element that was requested by a service.
  #
  # @attr type [TD::Types::PassportElementType] Type of the element.
  # @attr is_selfie_required [Boolean] True, if a selfie is required with the identity document.
  # @attr is_translation_required [Boolean] True, if a certified English translation is required with the document.
  # @attr is_native_name_required [Boolean] True, if personal details must include the user's name in the language of
  #   their country of residence.
  class PassportSuitableElement < Base
    attribute :type, TD::Types::PassportElementType
    attribute :is_selfie_required, TD::Types::Bool
    attribute :is_translation_required, TD::Types::Bool
    attribute :is_native_name_required, TD::Types::Bool
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/passport_suitable_element.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/passport_suitable_element.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/passport_suitable_element.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/passport_suitable_element.rb
tdlib-ruby-2.2.0 lib/tdlib/types/passport_suitable_element.rb
tdlib-ruby-2.1.0 lib/tdlib/types/passport_suitable_element.rb
tdlib-ruby-2.0.0 lib/tdlib/types/passport_suitable_element.rb