MadelineProtoDocs/old_docs/API_docs_v91/constructors/inputEncryptedChat.md
2019-03-08 13:49:23 +01:00

902 B

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

Constructor: inputEncryptedChat

Back to constructors index

Encrypted chat

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
access_hash long Yes Access hash

Type: InputEncryptedChat

Example:

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

PWRTelegram json-encoded version:

{"_": "inputEncryptedChat", "chat_id": int, "access_hash": long}

Or, if you're into Lua:

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