1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
encryptedChatRequested | Request to create an encrypted chat. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: encryptedChatRequested
Request to create an encrypted chat.
Attributes:
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
Example:
$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'}