mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
30 lines
654 B
Markdown
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];
|
|
```
|