Class: TD::Types::PassportSuitableElement
- Defined in:
- lib/tdlib/types/passport_suitable_element.rb
Overview
Contains information about a Telegram Passport element that was requested by a service.
Instance Attribute Summary collapse
-
#is_native_name_required ⇒ Boolean
True, if personal details must include the user’s name in the language of their country of residence.
-
#is_selfie_required ⇒ Boolean
True, if a selfie is required with the identity document.
-
#is_translation_required ⇒ Boolean
True, if a certified English translation is required with the document.
-
#type ⇒ TD::Types::PassportElementType
Type of the element.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_native_name_required ⇒ Boolean
True, if personal details must include the user’s name in the language of their country of residence.
9 10 11 |
# File 'lib/tdlib/types/passport_suitable_element.rb', line 9 def is_native_name_required @is_native_name_required end |
#is_selfie_required ⇒ Boolean
True, if a selfie is required with the identity document.
9 10 11 |
# File 'lib/tdlib/types/passport_suitable_element.rb', line 9 def is_selfie_required @is_selfie_required end |
#is_translation_required ⇒ Boolean
True, if a certified English translation is required with the document.
9 10 11 |
# File 'lib/tdlib/types/passport_suitable_element.rb', line 9 def is_translation_required @is_translation_required end |
#type ⇒ TD::Types::PassportElementType
Type of the element.
9 10 11 |
# File 'lib/tdlib/types/passport_suitable_element.rb', line 9 def type @type end |