mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 01:00:55 +01:00
36 lines
522 B
Markdown
36 lines
522 B
Markdown
---
|
|
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, ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
inputPeerChat={_='inputPeerChat', chat_id=int, }
|
|
|
|
```
|
|
|
|
|