Constructor: encryptedChatRequested

Back to constructors index

Request to create an encrypted chat.

Attributes:

Name Type Required Description
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

Example:

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

Or, if you’re into Lua:

encryptedChatRequested={_='encryptedChatRequested', 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.