---
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:

```
$InputEncryptedChat = -147286699; // Numeric chat id returned by requestSecretChat, can be positive or negative
```


### Possible values (constructors):

[inputEncryptedChat](../constructors/inputEncryptedChat.md)  



### Methods that return an object of this type (methods):



