# InputEncryptedChat

> constructors and methods of type InputEncryptedChat

[Back to types index](index.html)

You can directly provide the [Update](Update.html) or [EncryptedMessage](EncryptedMessage.html) object here, MadelineProto will automatically extract the destination chat id.

The following syntax can also be used:

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



### Possible values (constructors):

[inputEncryptedChat](/API_docs/constructors/inputEncryptedChat.html)  



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