MadelineProto/old_docs/API_docs_v45/constructors/inputPeerChannel.md

28 lines
534 B
Markdown
Raw Normal View History

---
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, ];
```