MadelineProtoDocs/old_docs/API_docs_v75/constructors/encryptedChatRequested.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.3 KiB

title description image
encryptedChatRequested Encrypted chat requested https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: encryptedChatRequested

Back to constructors index

Encrypted chat requested

Attributes:

Name Type Required Description
id int Yes ID
access_hash long Yes Access hash
date int Yes Date
admin_id int Yes Admin ID
participant_id int Yes Participant ID
g_a bytes Yes G a

Type: EncryptedChat

Example:

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

PWRTelegram json-encoded version:

{"_": "encryptedChatRequested", "id": int, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "g_a": {"_": "bytes", "bytes":"base64 encoded 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'}