40 lines
716 B
Markdown
40 lines
716 B
Markdown
|
---
|
||
|
title: inputChannel
|
||
|
description: Channel
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: inputChannel
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Channel
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|channel\_id|[int](../types/int.md) | Yes|Channel ID|
|
||
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [InputChannel](../types/InputChannel.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
inputChannel={_='inputChannel', channel_id=int, access_hash=long}
|
||
|
|
||
|
```
|
||
|
|
||
|
|