# inputPeerChannel

> Defines a channel for further interaction.

[Back to constructors index](/API_docs/constructors/index.html)



Defines a channel for further interaction.

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[long](/API_docs/types/long.html) | Yes|Channel identifier|
|access\_hash|[long](/API_docs/types/long.html) | Yes|**access\_hash** value from the [channel](../constructors/channel.html) constructor|



### Type: [InputPeer](/API_docs/types/InputPeer.html)


### Example:

```
$inputPeerChannel = ['_' => 'inputPeerChannel', 'channel_id' => long, 'access_hash' => long];
```
