MadelineProto/old_docs/API_docs_v68/constructors/inputPeerChat.md

43 lines
629 B
Markdown
Raw Normal View History

2017-07-23 17:44:01 +02:00
---
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) | Yes|
### Type: [InputPeer](../types/InputPeer.md)
### Example:
```
$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputPeerChat", "chat_id": int}
```
Or, if you're into Lua:
```
inputPeerChat={_='inputPeerChat', chat_id=int}
```