UpdateEncryption

class pyrogram.raw.types.UpdateEncryption

Change of state in an encrypted chat.

Constructor of Update.

Details:
  • Layer: 227

  • ID: B4A2E88D

Parameters:
  • chat (EncryptedChat) – Encrypted chat

  • date (int 32-bit) – Date of change

TL Schema

updateEncryption#b4a2e88d
chat:EncryptedChat
date:int

= Update

Parameter Tree

UpdateEncryption
├── chat → EncryptedChat
│ ├── EncryptedChatEmpty
│ │ └── id → int
│ ├── EncryptedChatWaiting
│ │ ├── id → int
│ │ ├── access_hash → long
│ │ ├── date → int
│ │ ├── admin_id → long
│ │ └── participant_id → long
│ │ ├── folder_id → int (optional)
│ │ ├── id → int
│ │ ├── access_hash → long
│ │ ├── date → int
│ │ ├── admin_id → long
│ │ ├── participant_id → long
│ │ └── g_a → bytes
│ ├── EncryptedChat
│ │ ├── id → int
│ │ ├── access_hash → long
│ │ ├── date → int
│ │ ├── admin_id → long
│ │ ├── participant_id → long
│ │ ├── g_a_or_b → bytes
│ │ └── key_fingerprint → long
│ ├── history_deleted → true (optional)
│ └── id → int
└── date → int

Example

UpdateEncryption(
    chat=EncryptedChatEmpty(id=0),
    date=0,
)