2018-06-29 13:59:08 +02:00
---
title: InputEncryptedChat
description: constructors and methods of type InputEncryptedChat
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Type: InputEncryptedChat
[Back to types index ](index.md )
You can directly provide the [Update ](Update.md ) or [EncryptedMessage ](EncryptedMessage.md ) object here, MadelineProto will automatically extract the destination chat id.
The following syntax can also be used:
2018-12-26 02:56:50 +01:00
```
2018-06-29 13:59:08 +02:00
$InputEncryptedChat = -147286699; // Numeric chat id returned by request_secret_chat, can be positive or negative
```
### Possible values (constructors):
[inputEncryptedChat ](../constructors/inputEncryptedChat.md )
### Methods that return an object of this type (methods):