account.GetSecureValue

class pyrogram.raw.functions.account.GetSecureValue

Get saved Telegram Passport document, for more info see the passport docs »

Details:
  • Layer: 223

  • ID: 73665BC2

Parameters:

types (List of SecureValueType) – Requested value types

Returns:

List of SecureValue

TL Schema

account.getSecureValue#73665bc2
types:Vector<SecureValueType>

= Vector<SecureValue>

Parameter Tree

Example

await app.invoke(
    GetSecureValue(
        types=[
                SecureValueTypePersonalDetails()
            ],
    )
)