Link Search Menu Expand Document

Constructor: encryptedChatRequested

Back to constructors index

Request to create an encrypted chat.

Attributes:

NameTypeRequiredDescription
folder_idintOptionalPeer folder ID, for more info click here
idintYesChat ID
access_hashlongYesCheck sum depending on user ID
dateintYesChat creation date
admin_idlongYesChat creator ID
participant_idlongYesID of second chat participant
g_abytesYesA = 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'];