EncryptedChat#
- class pyrogram.raw.types.EncryptedChat#
Encrypted chat
Constructor of
EncryptedChat.- Details:
Layer:
214ID:
61F0D4C7
- Parameters:
id (
int32-bit) – Chat IDaccess_hash (
int64-bit) – Check sum dependent on the user IDdate (
int32-bit) – Date chat was createdadmin_id (
int64-bit) – Chat creator IDparticipant_id (
int64-bit) – ID of the second chat participantg_a_or_b (
bytes) – B = g ^ b mod p, if the currently authorized user is the chat’s creator,or A = g ^ a mod p otherwiseSee Wikipedia for more infokey_fingerprint (
int64-bit) – 64-bit fingerprint of received key
- Functions:
This object can be returned by 2 functions.
Sends a request to start a secret chat to the user.
Confirms creation of a secret chat