EncryptedChat#
- class pyrogram.raw.types.EncryptedChat#
Encrypted chat.
Constructor of
EncryptedChat.- Details:
Layer:
158ID:
61F0D4C7
- Parameters:
id (
int32-bit) – Chat ID.access_hash (
int64-bit) – Check sum dependent on the user ID.date (
int32-bit) – Date chat was created.admin_id (
int64-bit) – Chat creator ID.participant_id (
int64-bit) – ID of the second chat participant.g_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 info.key_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.