MadelineProtoDocs/old_docs/API_docs_v13/constructors/inputChannel.md
2020-06-16 17:50:25 +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}