MadelineProtoDocs/docs/API_docs/constructors/encryptedChatRequested.md
2024-05-01 14:53:46 +02:00

1.4 KiB

title description nav_exclude image
encryptedChatRequested Request to create an encrypted chat. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: encryptedChatRequested

Back to constructors index

Request to create an encrypted chat.

Attributes:

Name Type Required Description
folder_id int Optional Peer folder ID, for more info click here
id int Yes Chat ID
access_hash long Yes Check sum depending on user ID
date int Yes Chat creation date
admin_id long Yes Chat creator ID
participant_id long Yes ID of second chat participant
g_a bytes Yes A = g ^ a mod p, see Wikipedia

Type: EncryptedChat

Example:

$encryptedChatRequested = ['_' => 'encryptedChatRequested', 'folder_id' => int, 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => long, 'participant_id' => long, 'g_a' => 'bytes'];