2018-04-01 13:19:25 +02:00
---
title: InputEncryptedChat
description: constructors and methods of type InputEncryptedChat
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Type: InputEncryptedChat
2018-04-01 13:19:25 +02:00
[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
```
2019-12-27 17:48:04 +01:00
$InputEncryptedChat = -147286699; // Numeric chat id returned by requestSecretChat, can be positive or negative
2018-04-01 13:19:25 +02:00
```
### Possible values (constructors):
[inputEncryptedChat ](../constructors/inputEncryptedChat.md )
### Methods that return an object of this type (methods):