MadelineProtoDocs/old_docs/API_docs_v105/constructors/inputEncryptedChat.md
2019-12-27 17:48:04 +01: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}