MadelineProtoDocs/old_docs/API_docs_v21/constructors/inputEncryptedChat.md
2020-06-16 17:50:25 +02:00

994 B

title description image
inputEncryptedChat Creates an encrypted chat. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputEncryptedChat

Back to constructors index

Creates an encrypted chat.

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
access_hash long Yes Checking sum from constructor encryptedChat, encryptedChatWaiting or encryptedChatRequested

Type: InputEncryptedChat

Example:

$inputEncryptedChat = ['_' => 'inputEncryptedChat', 'chat_id' => int, 'access_hash' => long];

Or, if you're into Lua:

inputEncryptedChat={_='inputEncryptedChat', chat_id=int, access_hash=long}