MadelineProto/docs/API_docs/constructors/inputPeerChannel.md
2016-12-30 23:21:36 +03:00

26 lines
530 B
Markdown

---
title: inputPeerChannel
description: inputPeerChannel attributes, type and example
---
## Constructor: inputPeerChannel
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|channel\_id|[int](../types/int.md) | Required|
|access\_hash|[long](../types/long.md) | Required|
### Type: [InputPeer](../types/InputPeer.md)
### Example:
```
$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => int, 'access_hash' => long, ];
```