MadelineProtoDocs/docs/API_docs/constructors/inputEncryptedChat.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00: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}