EncryptedChatRequested
- class pyrogram.raw.types.EncryptedChatRequested
Request to create an encrypted chat.
Constructor of
EncryptedChat.- Details:
Layer:
223ID:
48F1D94C
- Parameters:
id (
int32-bit) – Chat IDaccess_hash (
int64-bit) – Check sum depending on user IDdate (
int32-bit) – Chat creation dateadmin_id (
int64-bit) – Chat creator IDparticipant_id (
int64-bit) – ID of second chat participantg_a (
bytes) – A = g ^ a mod p, see Wikipediafolder_id (
int32-bit, optional) – Peer folder ID, for more info click here
- 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
TL Schema
encryptedChatRequested#48f1d94c
flags:#
folder_id:flags.0?int
id:int
access_hash:long
date:int
admin_id:long
participant_id:long
g_a:bytes
= EncryptedChat
Parameter Tree
EncryptedChatRequested
├── folder_id →
int (optional)├── id →
int├── access_hash →
long├── date →
int├── admin_id →
long├── participant_id →
long└── g_a →
bytesExample
EncryptedChatRequested(
id=0,
access_hash=0,
date=0,
admin_id=0,
participant_id=0,
g_a=b"data",
)