MessageActionSecureValuesSentMe

class pyrogram.raw.types.MessageActionSecureValuesSentMe

Secure telegram passport values were received

Constructor of MessageAction.

Details:
  • Layer: 223

  • ID: 1B287353

Parameters:
  • values (List of SecureValue) – Vector with information about documents and other Telegram Passport elements that were shared with the bot

  • credentials (SecureCredentialsEncrypted) – Encrypted credentials required to decrypt the data

TL Schema

messageActionSecureValuesSentMe#1b287353
values:Vector<SecureValue>
credentials:SecureCredentialsEncrypted

= MessageAction

Parameter Tree

MessageActionSecureValuesSentMe
├── valuesVector < SecureValue >
│ └── SecureValue
│ ├── typeSecureValueType
│ │ ├── SecureValueTypePassport
│ │ ├── SecureValueTypeIdentityCard
│ │ ├── SecureValueTypeAddress
│ │ ├── SecureValueTypeUtilityBill
│ │ ├── SecureValueTypePhone
│ │ └── SecureValueTypeEmail
│ ├── dataSecureData (optional)
│ │ └── SecureData
│ │ ├── databytes
│ │ ├── data_hashbytes
│ │ └── secretbytes
│ ├── front_sideSecureFile (optional)
│ │ ├── SecureFileEmpty
│ │ └── SecureFile
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── sizelong
│ │ ├── dc_idint
│ │ ├── dateint
│ │ ├── file_hashbytes
│ │ └── secretbytes
│ ├── reverse_sideSecureFile (optional)
│ │ ├── SecureFileEmpty
│ │ └── SecureFile
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── sizelong
│ │ ├── dc_idint
│ │ ├── dateint
│ │ ├── file_hashbytes
│ │ └── secretbytes
│ ├── selfieSecureFile (optional)
│ │ ├── SecureFileEmpty
│ │ └── SecureFile
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── sizelong
│ │ ├── dc_idint
│ │ ├── dateint
│ │ ├── file_hashbytes
│ │ └── secretbytes
│ ├── translationVector < SecureFile > (optional)
│ │ ├── SecureFileEmpty
│ │ └── SecureFile
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── sizelong
│ │ ├── dc_idint
│ │ ├── dateint
│ │ ├── file_hashbytes
│ │ └── secretbytes
│ ├── filesVector < SecureFile > (optional)
│ │ ├── SecureFileEmpty
│ │ └── SecureFile
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── sizelong
│ │ ├── dc_idint
│ │ ├── dateint
│ │ ├── file_hashbytes
│ │ └── secretbytes
│ ├── plain_dataSecurePlainData (optional)
│ │ ├── SecurePlainPhone
│ │ │ └── phonestring
│ │ └── SecurePlainEmail
│ │ └── emailstring
│ └── hashbytes
└── credentialsSecureCredentialsEncrypted
├── databytes
├── hashbytes
└── secretbytes

Example

MessageActionSecureValuesSentMe(
    values=[
            SecureValue(
                type=SecureValueTypePersonalDetails(),
                hash=b"data"
            )
        ],
    credentials=SecureCredentialsEncrypted(
        data=b"data",
        hash=b"data",
        secret=b"data"
    ),
)