MessageActionSecureValuesSentMe
- class pyrogram.raw.types.MessageActionSecureValuesSentMe
Secure telegram passport values were received
Constructor of
MessageAction.- Details:
Layer:
223ID:
1B287353
- Parameters:
values (List of
SecureValue) – Vector with information about documents and other Telegram Passport elements that were shared with the botcredentials (
SecureCredentialsEncrypted) – Encrypted credentials required to decrypt the data
TL Schema
messageActionSecureValuesSentMe#1b287353
values:Vector<SecureValue>
credentials:SecureCredentialsEncrypted
= MessageAction
Parameter Tree
MessageActionSecureValuesSentMe
├── values →
Vector < SecureValue >│ └──
SecureValue│ ├── type →
SecureValueType│ │ ├──
SecureValueTypePersonalDetails│ │ ├──
SecureValueTypePassport│ │ ├──
SecureValueTypeDriverLicense│ │ ├──
SecureValueTypeIdentityCard│ │ ├──
SecureValueTypeInternalPassport│ │ ├──
SecureValueTypeAddress│ │ ├──
SecureValueTypeUtilityBill│ │ ├──
SecureValueTypeBankStatement│ │ ├──
SecureValueTypeRentalAgreement│ │ ├──
SecureValueTypePhone│ │ └──
SecureValueTypeEmail│ ├── data →
SecureData (optional)│ │ └──
SecureData│ │ ├── data →
bytes│ │ ├── data_hash →
bytes│ │ └── secret →
bytes│ ├── front_side →
SecureFile (optional)│ │ ├──
SecureFileEmpty│ │ └──
SecureFile│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── size →
long│ │ ├── dc_id →
int│ │ ├── date →
int│ │ ├── file_hash →
bytes│ │ └── secret →
bytes│ ├── reverse_side →
SecureFile (optional)│ │ ├──
SecureFileEmpty│ │ └──
SecureFile│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── size →
long│ │ ├── dc_id →
int│ │ ├── date →
int│ │ ├── file_hash →
bytes│ │ └── secret →
bytes│ ├── selfie →
SecureFile (optional)│ │ ├──
SecureFileEmpty│ │ └──
SecureFile│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── size →
long│ │ ├── dc_id →
int│ │ ├── date →
int│ │ ├── file_hash →
bytes│ │ └── secret →
bytes│ ├── translation →
Vector < SecureFile > (optional)│ │ ├──
SecureFileEmpty│ │ └──
SecureFile│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── size →
long│ │ ├── dc_id →
int│ │ ├── date →
int│ │ ├── file_hash →
bytes│ │ └── secret →
bytes│ ├── files →
Vector < SecureFile > (optional)│ │ ├──
SecureFileEmpty│ │ └──
SecureFile│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── size →
long│ │ ├── dc_id →
int│ │ ├── date →
int│ │ ├── file_hash →
bytes│ │ └── secret →
bytes│ ├── plain_data →
SecurePlainData (optional)│ │ ├──
SecurePlainPhone│ │ │ └── phone →
string│ │ └──
SecurePlainEmail│ │ └── email →
string│ └── hash →
bytes└── credentials →
SecureCredentialsEncrypted├── data →
bytes├── hash →
bytes└── secret →
bytesExample
MessageActionSecureValuesSentMe(
values=[
SecureValue(
type=SecureValueTypePersonalDetails(),
hash=b"data"
)
],
credentials=SecureCredentialsEncrypted(
data=b"data",
hash=b"data",
secret=b"data"
),
)