MadelineProtoDocs/old_docs/API_docs_v43/constructors/inputChannel.md
2020-09-12 12:47:38 +02:00

807 B

title description image
inputChannel Represents a channel https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputChannel

Back to constructors index

Represents a channel

Attributes:

Name Type Required Description
channel_id int Yes Channel ID
access_hash long Yes Access hash taken from the channel constructor

Type: InputChannel

Example:

$inputChannel = ['_' => 'inputChannel', 'channel_id' => int, 'access_hash' => long];

Or, if you're into Lua:

inputChannel={_='inputChannel', channel_id=int, access_hash=long}