Constructor: encryptedChatRequested

Back to constructors index

Request to create an encrypted chat.


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

Type: EncryptedChat


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

Or, if you’re into Lua:

encryptedChatRequested={_='encryptedChatRequested', folder_id=int, id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.