MadelineProtoDocs/docs/API_docs/constructors/inputPeerChat.md
2024-05-01 14:53:46 +02:00

30 lines
654 B
Markdown

---
title: "inputPeerChat"
description: "Defines a chat for further interaction."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPeerChat
[Back to constructors index](/API_docs/constructors/index.html)
Defines a chat for further interaction.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[long](/API_docs/types/long.html) | Yes|Chat identifier|
### Type: [InputPeer](/API_docs/types/InputPeer.html)
### Example:
```
$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => long];
```