Skip to content

PassportSuitableElement

Type · TDLib 1.8.67 · d1085f9c

Contains information about a Telegram Passport element that was requested by a service

PassportSuitableElement(
  type: PassportElementType,
  is_selfie_required: Bool,
  is_translation_required: Bool,
  is_native_name_required: Bool
) → PassportSuitableElement

type

PassportElementType

Type of the element

is_selfie_required

Bool

True, if a selfie is required with the identity document

is_translation_required

Bool

True, if a certified English translation is required with the document

is_native_name_required

Bool

True, if personal details must include the user's name in the language of their country of residence