2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: inputPeerChat
|
|
|
|
description: inputPeerChat attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: inputPeerChat
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|chat\_id|[int](../types/int.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputPeer](../types/InputPeer.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$inputPeerChat = ['_' => 'inputPeerChat', 'chat_id' => int, ];
|
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
inputPeerChat={_='inputPeerChat', chat_id=int, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|