MadelineProtoDocs/old_docs/API_docs_v91/constructors/encryptedChatRequested.md
2019-03-08 13:49:23 +01: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'}