26 lines
530 B
Markdown
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, ];
|
|
``` |