MadelineProtoDocs/old_docs/API_docs_v5/constructors/inputChannel.md

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}