2019-06-23 13:07:51 +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:
```
2019-12-27 17:48:04 +01:00
$InputEncryptedChat = -147286699; // Numeric chat id returned by requestSecretChat, can be positive or negative
2019-06-23 13:07:51 +02:00
```
### Possible values (constructors):
[inputEncryptedChat ](../constructors/inputEncryptedChat.md )
### Methods that return an object of this type (methods):