MadelineProtoDocs/old_docs/API_docs_v72/constructors/inputChannel.md
2019-12-27 17:48:04 +01: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}