SecureRequiredTypeOneOf

class pyrogram.raw.types.SecureRequiredTypeOneOf

One of

Constructor of SecureRequiredType.

Details:
  • Layer: 227

  • ID: 27477B4

Parameters:

types (List of SecureRequiredType) – Secure required value types

TL Schema

secureRequiredTypeOneOf#27477b4
types:Vector<SecureRequiredType>

= SecureRequiredType

Parameter Tree

SecureRequiredTypeOneOf
└── types → Vector < SecureRequiredType >
│ ├── native_names → true (optional)
│ ├── selfie_required → true (optional)
│ ├── translation_required → true (optional)
│ └── type → SecureValueType
│ ├── SecureValueTypePhone
│ └── SecureValueTypeEmail
└── types → Vector < SecureRequiredType >
│ ├── native_names → true (optional)
│ ├── selfie_required → true (optional)
│ ├── translation_required → true (optional)
│ └── type → SecureValueType
│ ├── SecureValueTypePhone
│ └── SecureValueTypeEmail
└── types → Vector < SecureRequiredType >

Example

SecureRequiredTypeOneOf(
    types=[
            SecureRequiredType(type=SecureValueTypePersonalDetails())
        ],
)