--- title: inputEncryptedChat description: inputEncryptedChat attributes, type and example --- ## Constructor: inputEncryptedChat [Back to constructors index](index.md) ### Attributes: | Name | Type | Required | |----------|:-------------:|---------:| |chat\_id|[int](../types/int.md) | Required| |access\_hash|[long](../types/long.md) | Required| ### Type: [InputEncryptedChat](../types/InputEncryptedChat.md) ### Example: ``` $inputEncryptedChat = ['_' => inputEncryptedChat, 'chat_id' => int, 'access_hash' => long, ]; ```