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