UpdateEncryption

class pyrogram.raw.types.UpdateEncryption

Change of state in an encrypted chat.

Constructor of Update.

Details:
  • Layer: 223

  • 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
├── chatEncryptedChat
│ ├── EncryptedChatEmpty
│ │ └── idint
│ ├── EncryptedChatWaiting
│ │ ├── idint
│ │ ├── access_hashlong
│ │ ├── dateint
│ │ ├── admin_idlong
│ │ └── participant_idlong
│ │ ├── folder_idint (optional)
│ │ ├── idint
│ │ ├── access_hashlong
│ │ ├── dateint
│ │ ├── admin_idlong
│ │ ├── participant_idlong
│ │ └── g_abytes
│ ├── EncryptedChat
│ │ ├── idint
│ │ ├── access_hashlong
│ │ ├── dateint
│ │ ├── admin_idlong
│ │ ├── participant_idlong
│ │ ├── g_a_or_bbytes
│ │ └── key_fingerprintlong
│ ├── history_deletedtrue (optional)
│ └── idint
└── dateint

Example

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